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) |
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 String getDefaultValue(String key)
public String getCategory(String key)
public String getCategory(Property prop)
Copyright © 2009-2012 SonarSource. All Rights Reserved.