Package com.evolveum.midpoint.web.util
Enum ExpressionUtil.Language
- java.lang.Object
-
- java.lang.Enum<ExpressionUtil.Language>
-
- com.evolveum.midpoint.web.util.ExpressionUtil.Language
-
- All Implemented Interfaces:
Serializable
,Comparable<ExpressionUtil.Language>
- Enclosing class:
- ExpressionUtil
public static enum ExpressionUtil.Language extends Enum<ExpressionUtil.Language>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GROOVY
JAVASCRIPT
XPATH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLanguage()
static ExpressionUtil.Language
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExpressionUtil.Language[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GROOVY
public static final ExpressionUtil.Language GROOVY
-
XPATH
public static final ExpressionUtil.Language XPATH
-
JAVASCRIPT
public static final ExpressionUtil.Language JAVASCRIPT
-
-
Method Detail
-
values
public static ExpressionUtil.Language[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ExpressionUtil.Language c : ExpressionUtil.Language.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExpressionUtil.Language valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getLanguage
public String getLanguage()
-
-