Class BpmnBusinessFunctionDelegate
java.lang.Object
com.flowable.platform.common.el.bpmn.BpmnBusinessFunctionDelegate
- All Implemented Interfaces:
FlowableAstFunctionCreatorAndDelegate
,org.flowable.common.engine.api.delegate.FlowableFunctionDelegate
,org.flowable.common.engine.api.delegate.FlowableMultiFunctionDelegate
,org.flowable.common.engine.impl.el.FlowableAstFunctionCreator
public class BpmnBusinessFunctionDelegate
extends Object
implements org.flowable.common.engine.api.delegate.FlowableMultiFunctionDelegate, FlowableAstFunctionCreatorAndDelegate
The following expressions are valid. All of them (unless otherwise specified) are also applicable in strict mode.
Business Key
bpmn:getBusinessKey()
- Get the business key of the current process. Only applicable in a process scopebpmn:getBusinessKey(<processId>)
- Get the business key of the process with the given processIdbpmn:setBusinessKey(<businessKey>)
- Set the business key of the current process to the given businessKey. Only applicable in a process scopebpmn:setBusinessKey(<processId>, <businessKey>)
- Set the business key of the process with the given processId to the given businessKey
Business Status
bpmn:getBusinessStatus()
- Get the business status of the current process. Only applicable in a process scopebpmn:getBusinessStatus(<processId>)
- Get the business status of the process with the given processIdbpmn:setBusinessStatus(<businessStatus>)
- Set the business status of the current process to the given businessStatus. Only applicable in a process scopebpmn:setBusinessStatus(<processId>, <businessStatus>)
- Set the business status of the process with the given processId to the given businessStatus
- Author:
- Filip Hrisafov
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.flowable.common.engine.impl.de.odysseus.el.tree.impl.ast.AstFunction
createFunction
(String name, int index, org.flowable.common.engine.impl.de.odysseus.el.tree.impl.ast.AstParameters parameters, boolean varargs, org.flowable.common.engine.impl.el.FlowableExpressionParser parser) protected org.flowable.common.engine.impl.de.odysseus.el.tree.impl.ast.AstParameters
determineParametersForFunction
(String name, org.flowable.common.engine.impl.de.odysseus.el.tree.impl.ast.AstParameters parameters, org.flowable.common.engine.impl.el.FlowableExpressionParser parser) protected Class<?>[]
determineParameterTypes
(String localName) functionMethod
(String prefix, String localName) prefix()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.flowable.platform.common.el.FlowableAstFunctionCreatorAndDelegate
getFunctionNames
Methods inherited from interface org.flowable.common.engine.api.delegate.FlowableFunctionDelegate
prefixes
Methods inherited from interface org.flowable.common.engine.api.delegate.FlowableMultiFunctionDelegate
functionMethod, localName
-
Field Details
-
strictMode
protected final boolean strictMode
-
-
Constructor Details
-
BpmnBusinessFunctionDelegate
public BpmnBusinessFunctionDelegate(boolean strictMode)
-
-
Method Details
-
prefix
- Specified by:
prefix
in interfaceorg.flowable.common.engine.api.delegate.FlowableFunctionDelegate
-
localNames
- Specified by:
localNames
in interfaceorg.flowable.common.engine.api.delegate.FlowableFunctionDelegate
- Specified by:
localNames
in interfaceorg.flowable.common.engine.api.delegate.FlowableMultiFunctionDelegate
-
functionMethod
- Specified by:
functionMethod
in interfaceorg.flowable.common.engine.api.delegate.FlowableFunctionDelegate
- Specified by:
functionMethod
in interfaceorg.flowable.common.engine.api.delegate.FlowableMultiFunctionDelegate
- Throws:
NoSuchMethodException
-
determineParameterTypes
-
createFunction
public org.flowable.common.engine.impl.de.odysseus.el.tree.impl.ast.AstFunction createFunction(String name, int index, org.flowable.common.engine.impl.de.odysseus.el.tree.impl.ast.AstParameters parameters, boolean varargs, org.flowable.common.engine.impl.el.FlowableExpressionParser parser) - Specified by:
createFunction
in interfaceorg.flowable.common.engine.impl.el.FlowableAstFunctionCreator
-
determineParametersForFunction
protected org.flowable.common.engine.impl.de.odysseus.el.tree.impl.ast.AstParameters determineParametersForFunction(String name, org.flowable.common.engine.impl.de.odysseus.el.tree.impl.ast.AstParameters parameters, org.flowable.common.engine.impl.el.FlowableExpressionParser parser)
-