public enum PropertyType extends Enum<PropertyType>
Enum Constant and Description |
---|
BOOLEAN
True/False
|
FLOAT
Floating point number
|
INTEGER
Integer value, positive or negative
|
LICENSE
SonarSource license
|
METRIC
Sonar Metric
|
PASSWORD
Variation of {#STRING} with masked characters
|
PROPERTY_SET
Property set instance
|
REGULAR_EXPRESSION
Regular expression
|
SINGLE_SELECT_LIST
Single select list with a list of options
|
STRING
Basic single line input field
|
TEXT
Multiple line text-area
|
Modifier and Type | Method and Description |
---|---|
static PropertyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyType STRING
public static final PropertyType TEXT
public static final PropertyType PASSWORD
public static final PropertyType BOOLEAN
public static final PropertyType INTEGER
public static final PropertyType FLOAT
public static final PropertyType SINGLE_SELECT_LIST
public static final PropertyType METRIC
public static final PropertyType LICENSE
public static final PropertyType REGULAR_EXPRESSION
public static final PropertyType PROPERTY_SET
public static PropertyType[] values()
for (PropertyType c : PropertyType.values()) System.out.println(c);
public static PropertyType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2009-2014 SonarSource. All Rights Reserved.