Package org.camunda.bpm.engine.impl.juel
Enum Builder.Feature
- java.lang.Object
-
- java.lang.Enum<Builder.Feature>
-
- org.camunda.bpm.engine.impl.juel.Builder.Feature
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Builder.Feature>
- Enclosing class:
- Builder
public static enum Builder.Feature extends java.lang.Enum<Builder.Feature>
Feature enumeration type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description METHOD_INVOCATIONS
Method invocations as in${foo.bar(1)}
as specified in JSR 245, maintenance release 2.NULL_PROPERTIES
For some reason we don't understand, the specification does not allow to resolvenull
property values.VARARGS
Allow for use of Java 5 varargs in function calls.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Builder.Feature
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Builder.Feature[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
METHOD_INVOCATIONS
public static final Builder.Feature METHOD_INVOCATIONS
Method invocations as in${foo.bar(1)}
as specified in JSR 245, maintenance release 2. The method to be invoked is resolved at evaluation time by callingELResolver#invoke(javax.el.ELContext, Object, Object, Class[], Object[])
.
-
NULL_PROPERTIES
public static final Builder.Feature NULL_PROPERTIES
For some reason we don't understand, the specification does not allow to resolvenull
property values. E.g.${map[key]}
will always returnnull
ifkey
evaluates tonull
. Enabling this feature will allow JUEL to passnull
to the property resolvers just like any other property value.
-
VARARGS
public static final Builder.Feature VARARGS
Allow for use of Java 5 varargs in function calls.
-
-
Method Detail
-
values
public static Builder.Feature[] 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 (Builder.Feature c : Builder.Feature.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Builder.Feature 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
-
-