org.sonar.api.config
Class PropertyDefinition
java.lang.Object
org.sonar.api.config.PropertyDefinition
public final class PropertyDefinition
- extends Object
- Since:
- 3.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
create
public static PropertyDefinition create(Property annotation)
create
public static PropertyDefinition create(String key,
PropertyType type,
String[] options)
validate
public PropertyDefinition.Result validate(@Nullable
String value)
getKey
public String getKey()
getDefaultValue
public String getDefaultValue()
getName
public String getName()
getType
public PropertyType getType()
getOptions
public String[] getOptions()
getDescription
public String getDescription()
getCategory
public String getCategory()
isOnProject
public boolean isOnProject()
isOnModule
public boolean isOnModule()
isGlobal
public boolean isGlobal()
Copyright © 2009-2012 SonarSource. All Rights Reserved.