public final class PropertyDefinitions extends Object implements BatchComponent, ServerComponent
Constructor and Description |
---|
PropertyDefinitions(Collection<PropertyDefinition> components) |
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) |
String |
getNewKey(String deprecatedKey) |
String |
getSubCategory(String key) |
Map<Category,Map<SubCategory,Collection<PropertyDefinition>>> |
propertiesByCategory(String qualifier) |
String |
validKey(String key) |
public PropertyDefinitions(Object... components)
public PropertyDefinitions(Collection<PropertyDefinition> 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<Category,Map<SubCategory,Collection<PropertyDefinition>>> propertiesByCategory(@Nullable String qualifier)
public String getDefaultValue(String key)
public String getCategory(String key)
public String getSubCategory(String key)
public String getCategory(Property prop)
public String getDeprecatedKey(String key)
Copyright © 2009–2015 SonarSource. All rights reserved.