Package org.jbpm.workflow.core
Interface WorkflowProcess
- All Superinterfaces:
ContextContainer,org.kie.api.definition.KieDefinition,KogitoWorkflowProcess,NodeContainer,org.kie.api.definition.process.NodeContainer,Process,org.kie.api.definition.process.Process,Serializable,org.kie.api.definition.process.WorkflowProcess
- All Known Implementing Classes:
RuleFlowProcess,WorkflowProcessImpl
Represents a RuleFlow process.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.kie.api.definition.KieDefinition
org.kie.api.definition.KieDefinition.KnowledgeType -
Field Summary
FieldsFields inherited from interface org.kie.kogito.internal.process.runtime.KogitoWorkflowProcess
BPMN_TYPE, NONE_VISIBILITY, PRIVATE_VISIBILITY, PUBLIC_VISIBILITY, RULEFLOW_TYPE, SW_TYPE -
Method Summary
Modifier and TypeMethodDescriptionevaluateExpression(String metaData, ProcessInstance processInstance) booleanReturns whether this process will automatically complete if it contains no active node instances anymorebooleanvoidsetExpressionEvaluator(BiFunction<String, ProcessInstance, String> expressionEvaluator) voidsetExpressionLanguage(String exprLanguage) voidsetInputValidator(WorkflowModelValidator validator) voidsetOutputValidator(WorkflowModelValidator validator) Methods inherited from interface org.jbpm.process.core.ContextContainer
addContext, getContext, getContexts, getDefaultContext, setDefaultContextMethods inherited from interface org.kie.api.definition.KieDefinition
getKnowledgeType, getNamespaceMethods inherited from interface org.kie.kogito.internal.process.runtime.KogitoWorkflowProcess
getNodesRecursively, getVisibilityMethods inherited from interface org.jbpm.workflow.core.NodeContainer
addNode, internalGetNode, removeNode, resolveContextMethods inherited from interface org.kie.api.definition.process.NodeContainer
getNode, getNodeByUniqueId, getNodesMethods inherited from interface org.jbpm.process.core.Process
getFunctionImports, getGlobalNames, getGlobals, getImports, setFunctionImports, setGlobals, setId, setImports, setMetaData, setName, setPackageName, setType, setVersionMethods inherited from interface org.kie.api.definition.process.Process
getId, getMetaData, getName, getPackageName, getResource, getType, getVersion, setResource
-
Field Details
-
PROCESS_TYPE
static final int PROCESS_TYPE- See Also:
-
CASE_TYPE
static final int CASE_TYPE- See Also:
-
-
Method Details
-
isAutoComplete
boolean isAutoComplete()Returns whether this process will automatically complete if it contains no active node instances anymore- Returns:
- the names of the globals of this RuleFlow process
-
isDynamic
boolean isDynamic() -
getProcessType
Integer getProcessType() -
setExpressionEvaluator
-
evaluateExpression
-
getInputValidator
Optional<WorkflowModelValidator> getInputValidator() -
setInputValidator
-
getOutputValidator
Optional<WorkflowModelValidator> getOutputValidator() -
setOutputValidator
-
setExpressionLanguage
-
getExpressionLanguage
String getExpressionLanguage()
-