public enum PropertyType extends Enum<PropertyType>
| Enum Constant and Description | 
|---|
| BOOLEANTrue/False | 
| FLOATFloating point number | 
| INTEGERInteger value, positive or negative | 
| LICENSESonarSource license | 
| LONGLong value, positivie or negative | 
| METRICSonar Metric | 
| METRIC_LEVELLevel metric type | 
| PASSWORDVariation of {#STRING} with masked characters | 
| PROPERTY_SETProperty set instance | 
| REGULAR_EXPRESSIONRegular expression | 
| SINGLE_SELECT_LISTSingle select list with a list of options | 
| STRINGBasic single line input field | 
| TEXTMultiple line text-area | 
| USER_LOGINUser login | 
| 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 final PropertyType USER_LOGIN
public static final PropertyType METRIC_LEVEL
public static final PropertyType LONG
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–2016 SonarSource. All rights reserved.