public final class PropertyDefinitions extends Object implements BatchComponent, ServerComponent
Constructor and Description |
---|
PropertyDefinitions(Object... components) |
Modifier and Type | Method and Description |
---|---|
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) |
String |
getDeprecatedKey(String key) |
Map<String,Collection<PropertyDefinition>> |
getGlobalPropertiesByCategory()
since 3.3
|
Map<String,Collection<PropertyDefinition>> |
getModulePropertiesByCategory()
since 3.3
|
String |
getNewKey(String deprecatedKey) |
Map<String,Collection<PropertyDefinition>> |
getProjectPropertiesByCategory()
since 3.3
|
String |
validKey(String key) |
public PropertyDefinitions(Object... components)
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)
public String getDeprecatedKey(String key)
Copyright © 2009-2013 SonarSource. All Rights Reserved.