Class VariableContainerELResolver
java.lang.Object
org.flowable.common.engine.impl.javax.el.ELResolver
org.flowable.common.engine.impl.el.VariableContainerELResolver
- Direct Known Subclasses:
CmmnVariableScopeELResolver, ProcessVariableScopeELResolver
- Author:
- Joram Barrez
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?> getCommonPropertyType(ELContext arg0, Object arg1) Obtain the most common type that is acceptable for the given base object.Class<?> Obtain the most generally acceptable type that may be used to set the given property on the given object using the given context.Obtain the value of the given property on the given object using the given context.protected VariableContainergetVariableContainer(ELContext elContext) booleanisReadOnly(ELContext context, Object base, Object property) Determine if the given property on the given object is read-only using the given context.voidSet the value of the given property on the given object using the given context.Methods inherited from class ELResolver
convertToType, invoke
-
Field Details
-
VARIABLE_CONTAINER_KEY
- See Also:
-
LOGGED_IN_USER_KEY
- See Also:
-
CURRENT_TENANT_ID_KEY
- See Also:
-
-
Constructor Details
-
VariableContainerELResolver
public VariableContainerELResolver()
-
-
Method Details
-
getValue
Description copied from class:ELResolverObtain the value of the given property on the given object using the given context.- Specified by:
getValuein classELResolver- Parameters:
context- The EL context for this evaluationbase- The base object on which the property is to be foundproperty- The property whose value is to be returned- Returns:
- the value of the provided property
-
isReadOnly
Description copied from class:ELResolverDetermine if the given property on the given object is read-only using the given context.- Specified by:
isReadOnlyin classELResolver- Parameters:
context- The EL context for this evaluationbase- The base object on which the property is to be foundproperty- The property to be checked for read only status- Returns:
trueif the identified property is read only, otherwisefalse
-
setValue
Description copied from class:ELResolverSet the value of the given property on the given object using the given context.- Specified by:
setValuein classELResolver- Parameters:
context- The EL context for this evaluationbase- The base object on which the property is to be foundproperty- The property whose value is to be setvalue- The value to set the property to
-
getVariableContainer
-
getCommonPropertyType
Description copied from class:ELResolverObtain the most common type that is acceptable for the given base object.- Specified by:
getCommonPropertyTypein classELResolver- Parameters:
arg0- The context in which the examination takes placearg1- The object to examine- Returns:
- {code null} if the most common type cannot be determined, otherwise the most common type
-
getType
Description copied from class:ELResolverObtain the most generally acceptable type that may be used to set the given property on the given object using the given context.- Specified by:
getTypein classELResolver- Parameters:
arg0- The EL context for this evaluationarg1- The base object on which the property is to be foundarg2- The property whose type is to be returned- Returns:
- the most general type that maybe used to set the provided property or
nullif the resolver is read-only.
-