public enum ConfigItemMetadataType extends Enum<ConfigItemMetadataType>
Enum Constant and Description |
---|
ATTRIBUTEDEF
name of attribute def in system
|
ATTRIBUTEDEFNAME
name of attribute def name in system
|
BOOLEAN
true/false
|
CLASS
fully qualified class in system
|
CRON
cron expression
|
FLOATING
floating point number in system
|
GROUP
group name in system
|
INTEGER
any integer or long datatype
|
PASSWORD
password, or encrypted, or file name, or script
|
STEM
folder in system
|
STRING
any string
|
SUBJECT
subject id or identifier in system
|
Modifier and Type | Method and Description |
---|---|
Object |
convertValue(String valueString,
boolean requireValidValue)
for EL types, convert to boolean or integers
|
abstract String |
getStringForUi() |
abstract String |
validate(String value) |
static ConfigItemMetadataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigItemMetadataType |
valueOfIgnoreCase(String string,
boolean exceptionOnNull)
do a case-insensitive matching
|
static ConfigItemMetadataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigItemMetadataType BOOLEAN
public static final ConfigItemMetadataType STRING
public static final ConfigItemMetadataType GROUP
public static final ConfigItemMetadataType STEM
public static final ConfigItemMetadataType ATTRIBUTEDEF
public static final ConfigItemMetadataType ATTRIBUTEDEFNAME
public static final ConfigItemMetadataType SUBJECT
public static final ConfigItemMetadataType INTEGER
public static final ConfigItemMetadataType FLOATING
public static final ConfigItemMetadataType PASSWORD
public static final ConfigItemMetadataType CLASS
public static final ConfigItemMetadataType CRON
public static ConfigItemMetadataType[] values()
for (ConfigItemMetadataType c : ConfigItemMetadataType.values()) System.out.println(c);
public static ConfigItemMetadataType 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 nullpublic static ConfigItemMetadataType valueOfIgnoreCase(String string, boolean exceptionOnNull)
string
- exceptionOnNull
- will not allow null or blank entriespublic abstract String getStringForUi()
public Object convertValue(String valueString, boolean requireValidValue)
valueString
- Copyright © 2016 Internet2. All rights reserved.