Package org.camunda.bpm.impl.juel
Class Bindings
java.lang.Object
org.camunda.bpm.impl.juel.Bindings
- All Implemented Interfaces:
Serializable
,TypeConverter
Bindings, usually created by a
Tree
.- Author:
- Christoph Beck
- See Also:
-
Field Summary
Fields inherited from interface org.camunda.bpm.impl.juel.TypeConverter
DEFAULT
-
Constructor Summary
ConstructorDescriptionConstructor.Bindings
(Method[] functions, jakarta.el.ValueExpression[] variables, TypeConverter converter) Constructor. -
Method Summary
Modifier and TypeMethodDescription<T> T
Apply type conversion.boolean
getFunction
(int index) Get function by index.jakarta.el.ValueExpression
getVariable
(int index) Get variable by index.int
hashCode()
boolean
isFunctionBound
(int index) Test if given index is bound to a function.boolean
isVariableBound
(int index) Test if given index is bound to a variable.
-
Constructor Details
-
Bindings
Constructor. -
Bindings
public Bindings(Method[] functions, jakarta.el.ValueExpression[] variables, TypeConverter converter) Constructor.
-
-
Method Details
-
getFunction
Get function by index.- Parameters:
index
- function index- Returns:
- method
-
isFunctionBound
public boolean isFunctionBound(int index) Test if given index is bound to a function. This method performs an index check.- Parameters:
index
- identifier index- Returns:
true
if the given index is bound to a function
-
getVariable
public jakarta.el.ValueExpression getVariable(int index) Get variable by index.- Parameters:
index
- identifier index- Returns:
- value expression
-
isVariableBound
public boolean isVariableBound(int index) Test if given index is bound to a variable. This method performs an index check.- Parameters:
index
- identifier index- Returns:
true
if the given index is bound to a variable
-
convert
Apply type conversion.- Specified by:
convert
in interfaceTypeConverter
- Parameters:
value
- value to converttype
- target type- Returns:
- converted value
- Throws:
jakarta.el.ELException
-
equals
-
hashCode
public int hashCode()
-