Package org.jbpm.ruleflow.core
Class RuleFlowProcessFactory
java.lang.Object
org.jbpm.ruleflow.core.factory.NodeFactory<T,P>
org.jbpm.ruleflow.core.factory.ExtendedNodeFactory<T,P>
org.jbpm.ruleflow.core.RuleFlowNodeContainerFactory<RuleFlowProcessFactory,RuleFlowProcessFactory>
org.jbpm.ruleflow.core.RuleFlowProcessFactory
- All Implemented Interfaces:
MappableNodeFactory<RuleFlowProcessFactory>
public class RuleFlowProcessFactory
extends RuleFlowNodeContainerFactory<RuleFlowProcessFactory,RuleFlowProcessFactory>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.jbpm.ruleflow.core.RuleFlowNodeContainerFactory
METHOD_ASSOCIATION, METHOD_CONNECTIONFields inherited from class org.jbpm.ruleflow.core.factory.NodeFactory
METHOD_DONE, METHOD_METADATA, node, nodeContainer, nodeContainerFactoryFields inherited from interface org.jbpm.ruleflow.core.factory.MappableNodeFactory
METHOD_IN_ASSOCIATION, METHOD_IN_MAPPING, METHOD_OUT_ASSOCIATION, METHOD_OUT_MAPPING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RuleFlowProcessFactorycreateProcess(String id) static RuleFlowProcessFactorycreateProcess(String id, boolean autoComplete) done()dynamic(boolean dynamic) expressionLanguage(String exprLanguage) protected org.kie.api.definition.process.NodefindNodeByIdOrUniqueIdInMetadata(org.kie.api.definition.process.NodeContainer nodeContainer, String nodeRef, String errorMsg) functionImports(String... functionImports) protected NodeContainerprotected RuleFlowProcessinputValidator(WorkflowModelValidator validator) link()protected voidlinkBoundaryErrorEvent(org.kie.api.definition.process.Node node, String attachedTo, org.kie.api.definition.process.Node attachedNode) protected voidlinkBoundaryEvents(org.kie.api.definition.process.NodeContainer nodeContainer) protected voidlinkBoundarySignalEvent(org.kie.api.definition.process.Node node, String attachedTo) protected voidlinkBoundaryTimerEvent(org.kie.api.definition.process.Node node, String attachedTo, org.kie.api.definition.process.Node attachedNode) newCorrelationKey(String correlationKey, String correlationName) newCorrelationMessage(String messageId, String messageName, String messageType) newCorrelationProperty(String correlationKeyId, String messageId, String propertyId, ReturnValueEvaluator evaluator) newCorrelationSubscription(String correlationKeyId, String propertyId, ReturnValueEvaluator evaluator) outputValidator(WorkflowModelValidator validator) packageName(String packageName) protected voidprotected DroolsActiontimerAction(String type) validate()visibility(String visibility) Methods inherited from class org.jbpm.ruleflow.core.RuleFlowNodeContainerFactory
actionNode, addCompensationContext, association, boundaryEventNode, catchLinkNode, compositeContextNode, connection, connection, dynamicNode, endNode, errorExceptionHandler, eventNode, eventSubProcessNode, exceptionHandler, exceptionHandler, exceptionHandler, faultNode, forEachNode, humanTaskNode, joinNode, milestoneNode, newNode, ruleSetNode, splitNode, startNode, stateNode, subProcessNode, throwLinkNode, timerNode, workItemNodeMethods inherited from class org.jbpm.ruleflow.core.factory.ExtendedNodeFactory
getExtendedNode, onActionScript, onEntryAction, onExitActionMethods inherited from class org.jbpm.ruleflow.core.factory.NodeFactory
getMappableNode, getNodeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jbpm.ruleflow.core.factory.MappableNodeFactory
inMapping, mapDataInputAssociation, mapDataOutputAssociation, outMapping
-
Field Details
-
METHOD_NAME
- See Also:
-
METHOD_PACKAGE_NAME
- See Also:
-
METHOD_DYNAMIC
- See Also:
-
METHOD_VERSION
- See Also:
-
METHOD_TYPE
- See Also:
-
METHOD_VISIBILITY
- See Also:
-
METHOD_VALIDATE
- See Also:
-
METHOD_IMPORTS
- See Also:
-
METHOD_GLOBAL
- See Also:
-
METHOD_VARIABLE
- See Also:
-
METHOD_ADD_COMPENSATION_CONTEXT
- See Also:
-
METHOD_ERROR_EXCEPTION_HANDLER
- See Also:
-
ERROR_TYPE_PREFIX
- See Also:
-
MESSAGE_TYPE_PREFIX
- See Also:
-
TIMER_TYPE_PREFIX
- See Also:
-
-
Constructor Details
-
RuleFlowProcessFactory
-
-
Method Details
-
createProcess
-
createProcess
-
getNodeContainer
- Specified by:
getNodeContainerin classRuleFlowNodeContainerFactory<RuleFlowProcessFactory,RuleFlowProcessFactory>
-
setId
- Overrides:
setIdin classNodeFactory<RuleFlowProcessFactory,RuleFlowProcessFactory>
-
expressionLanguage
-
getRuleFlowProcess
-
name
- Overrides:
namein classNodeFactory<RuleFlowProcessFactory,RuleFlowProcessFactory>
-
metaData
- Overrides:
metaDatain classNodeFactory<RuleFlowProcessFactory,RuleFlowProcessFactory>
-
visibility
-
type
-
dynamic
-
outputValidator
-
inputValidator
-
version
-
packageName
-
imports
-
functionImports
-
globals
-
global
-
variable
-
variable
- Specified by:
variablein classRuleFlowNodeContainerFactory<RuleFlowProcessFactory,RuleFlowProcessFactory>
-
variable
- Specified by:
variablein classRuleFlowNodeContainerFactory<RuleFlowProcessFactory,RuleFlowProcessFactory>
-
variable
- Specified by:
variablein classRuleFlowNodeContainerFactory<RuleFlowProcessFactory,RuleFlowProcessFactory>
-
variable
public RuleFlowProcessFactory variable(String name, DataType type, Object value, Map<String, Object> metadata) - Specified by:
variablein classRuleFlowNodeContainerFactory<RuleFlowProcessFactory,RuleFlowProcessFactory>
-
swimlane
-
validate
-
newCorrelationMessage
public RuleFlowProcessFactory newCorrelationMessage(String messageId, String messageName, String messageType) -
newCorrelationKey
-
newCorrelationProperty
public RuleFlowProcessFactory newCorrelationProperty(String correlationKeyId, String messageId, String propertyId, ReturnValueEvaluator evaluator) -
newCorrelationSubscription
public RuleFlowProcessFactory newCorrelationSubscription(String correlationKeyId, String propertyId, ReturnValueEvaluator evaluator) -
link
-
done
- Overrides:
donein classNodeFactory<RuleFlowProcessFactory,RuleFlowProcessFactory>
-
getProcess
-
linkBoundaryEvents
protected void linkBoundaryEvents(org.kie.api.definition.process.NodeContainer nodeContainer) -
linkBoundaryTimerEvent
protected void linkBoundaryTimerEvent(org.kie.api.definition.process.Node node, String attachedTo, org.kie.api.definition.process.Node attachedNode) -
linkBoundarySignalEvent
-
linkBoundaryErrorEvent
protected void linkBoundaryErrorEvent(org.kie.api.definition.process.Node node, String attachedTo, org.kie.api.definition.process.Node attachedNode) -
timerAction
-
findNodeByIdOrUniqueIdInMetadata
-