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.AstFunctioncreateFunction(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.AstParametersdetermineParametersForFunction(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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface FlowableAstFunctionCreatorAndDelegate
getFunctionNamesMethods inherited from interface org.flowable.common.engine.api.delegate.FlowableFunctionDelegate
prefixesMethods 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:
prefixin interfaceorg.flowable.common.engine.api.delegate.FlowableFunctionDelegate
-
localNames
- Specified by:
localNamesin interfaceorg.flowable.common.engine.api.delegate.FlowableFunctionDelegate- Specified by:
localNamesin interfaceorg.flowable.common.engine.api.delegate.FlowableMultiFunctionDelegate
-
functionMethod
- Specified by:
functionMethodin interfaceorg.flowable.common.engine.api.delegate.FlowableFunctionDelegate- Specified by:
functionMethodin 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:
createFunctionin 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)
-