Enum SExpressionType
- java.lang.Object
-
- java.lang.Enum<SExpressionType>
-
- org.bonitasoft.engine.expression.model.SExpressionType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SExpressionType>
public enum SExpressionType extends java.lang.Enum<SExpressionType>
FIXME: this class is only used in tests. Delete it.- Author:
- Zhao na, Emmanuel Duchastenier
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TYPE_CONSTANT
TYPE_I18N
TYPE_INPUT
TYPE_PARAMETER
TYPE_PATTERN
TYPE_READ_ONLY_SCRIPT_GROOVY
TYPE_READ_ONLY_SCRIPT_JAVASCRIPT
TYPE_READ_WRITE_SCRIPT
TYPE_VARIABLE
TYPE_XPATH_READ
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SExpressionType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SExpressionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TYPE_CONSTANT
public static final SExpressionType TYPE_CONSTANT
-
TYPE_VARIABLE
public static final SExpressionType TYPE_VARIABLE
-
TYPE_PATTERN
public static final SExpressionType TYPE_PATTERN
-
TYPE_READ_WRITE_SCRIPT
public static final SExpressionType TYPE_READ_WRITE_SCRIPT
-
TYPE_PARAMETER
public static final SExpressionType TYPE_PARAMETER
-
TYPE_I18N
public static final SExpressionType TYPE_I18N
-
TYPE_READ_ONLY_SCRIPT_GROOVY
public static final SExpressionType TYPE_READ_ONLY_SCRIPT_GROOVY
-
TYPE_READ_ONLY_SCRIPT_JAVASCRIPT
public static final SExpressionType TYPE_READ_ONLY_SCRIPT_JAVASCRIPT
-
TYPE_INPUT
public static final SExpressionType TYPE_INPUT
-
TYPE_XPATH_READ
public static final SExpressionType TYPE_XPATH_READ
-
-
Method Detail
-
values
public static SExpressionType[] 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 (SExpressionType c : SExpressionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SExpressionType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-