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