public enum GshTemplateInputType extends Enum<GshTemplateInputType>
Modifier and Type | Method and Description |
---|---|
abstract boolean |
canConvertToCorrectType(String valueFromUser) |
abstract Object |
converToType(String valueFromUser) |
abstract String |
generateGshVariable(GrouperGroovyInput grouperGroovyInput,
GshTemplateInputConfig gshTemplateInputConfig,
String valueFromUser) |
static GshTemplateInputType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GshTemplateInputType |
valueOfIgnoreCase(String string,
boolean exceptionOnNotFound)
do a case-insensitive matching
|
static GshTemplateInputType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GshTemplateInputType INTEGER
public static final GshTemplateInputType STRING
public static final GshTemplateInputType BOOLEAN
public static GshTemplateInputType[] values()
for (GshTemplateInputType c : GshTemplateInputType.values()) System.out.println(c);
public static GshTemplateInputType 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 GshTemplateInputType valueOfIgnoreCase(String string, boolean exceptionOnNotFound)
string
- exceptionOnNotFound
- true to throw exception if method not foundpublic abstract String generateGshVariable(GrouperGroovyInput grouperGroovyInput, GshTemplateInputConfig gshTemplateInputConfig, String valueFromUser)
public abstract boolean canConvertToCorrectType(String valueFromUser)
Copyright © 2016 Internet2. All rights reserved.