public final class PropertyDefinition extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PropertyDefinition.Result |
Modifier and Type | Method and Description |
---|---|
static PropertyDefinition |
create(Property annotation) |
static PropertyDefinition |
create(String key,
PropertyType type,
String[] options) |
String |
getCategory() |
String |
getDefaultValue() |
String |
getDescription() |
String |
getKey() |
String |
getName() |
String[] |
getOptions() |
PropertyType |
getType() |
boolean |
isGlobal() |
boolean |
isOnModule() |
boolean |
isOnProject() |
PropertyDefinition.Result |
validate(String value) |
public static PropertyDefinition create(Property annotation)
public static PropertyDefinition create(String key, PropertyType type, String[] options)
public PropertyDefinition.Result validate(@Nullable String value)
public String getDefaultValue()
public PropertyType getType()
public String[] getOptions()
public String getDescription()
public String getCategory()
public boolean isOnProject()
public boolean isOnModule()
public boolean isGlobal()
Copyright © 2009-2012 SonarSource. All Rights Reserved.