org.sonar.api.config
Class PropertyDefinitions
java.lang.Object
org.sonar.api.config.PropertyDefinitions
- All Implemented Interfaces:
- BatchComponent, ServerComponent
public final class PropertyDefinitions
- extends Object
- implements BatchComponent, ServerComponent
Metadata of all the properties declared by plugins
- Since:
- 2.12
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyDefinitions
public PropertyDefinitions(Object... components)
addComponents
public PropertyDefinitions addComponents(Collection components)
addComponents
public PropertyDefinitions addComponents(Collection components,
String defaultCategory)
addComponent
public PropertyDefinitions addComponent(Object object)
addComponent
public PropertyDefinitions addComponent(Object component,
String defaultCategory)
getProperty
public Property getProperty(String key)
getProperties
public Collection<Property> getProperties()
getDefaultValue
public String getDefaultValue(String key)
getCategory
public String getCategory(String key)
getCategory
public String getCategory(Property prop)
Copyright © 2009-2012 SonarSource. All Rights Reserved.