|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sonar.api.config.PropertyDefinitions
public final class PropertyDefinitions
Metadata of all the properties declared by plugins
Constructor Summary | |
---|---|
PropertyDefinitions(Object... components)
|
Method Summary | |
---|---|
PropertyDefinitions |
addComponent(Object object)
|
PropertyDefinitions |
addComponent(Object component,
String defaultCategory)
|
PropertyDefinitions |
addComponents(Collection components)
|
PropertyDefinitions |
addComponents(Collection components,
String defaultCategory)
|
PropertyDefinition |
get(String key)
|
Collection<PropertyDefinition> |
getAll()
|
String |
getCategory(Property prop)
|
String |
getCategory(String key)
|
String |
getDefaultValue(String key)
|
Map<String,Collection<PropertyDefinition>> |
getGlobalPropertiesByCategory()
since 3.3 |
Map<String,Collection<PropertyDefinition>> |
getModulePropertiesByCategory()
since 3.3 |
Map<String,Collection<PropertyDefinition>> |
getProjectPropertiesByCategory()
since 3.3 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyDefinitions(Object... components)
Method Detail |
---|
public PropertyDefinitions addComponents(Collection components)
public PropertyDefinitions addComponents(Collection components, String defaultCategory)
public PropertyDefinitions addComponent(Object object)
public PropertyDefinitions addComponent(Object component, String defaultCategory)
public PropertyDefinition get(String key)
public Collection<PropertyDefinition> getAll()
public Map<String,Collection<PropertyDefinition>> getGlobalPropertiesByCategory()
public Map<String,Collection<PropertyDefinition>> getProjectPropertiesByCategory()
public Map<String,Collection<PropertyDefinition>> getModulePropertiesByCategory()
public String getDefaultValue(String key)
public String getCategory(String key)
public String getCategory(Property prop)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |