Package org.jbpm.workflow.core.node
Class RuleSetNode
- java.lang.Object
-
- org.jbpm.workflow.core.impl.NodeImpl
-
- org.jbpm.workflow.core.impl.ExtendedNodeImpl
-
- org.jbpm.workflow.core.node.StateBasedNode
-
- org.jbpm.workflow.core.node.RuleSetNode
-
- All Implemented Interfaces:
Serializable,Contextable,ContextContainer,ContextResolver,Node,org.kie.api.definition.process.Node
public class RuleSetNode extends StateBasedNode implements ContextContainer
Default implementation of a RuleSet node.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringDMN_LANGstatic StringDRL_LANG-
Fields inherited from class org.jbpm.workflow.core.impl.ExtendedNodeImpl
EVENT_NODE_BOUNDARY, EVENT_NODE_ENTER, EVENT_NODE_EXIT
-
Fields inherited from class org.jbpm.workflow.core.impl.NodeImpl
constraints, EMPTY_NODE_ARRAY
-
Fields inherited from interface org.jbpm.workflow.core.Node
CONNECTION_DEFAULT_TYPE
-
-
Constructor Summary
Constructors Constructor Description RuleSetNode()
-
Method Summary
-
Methods inherited from class org.jbpm.workflow.core.node.StateBasedNode
addBoundaryEvents, addTimer, getBoundaryEvents, getTimers, removeAllTimers, setBoundaryEvents
-
Methods inherited from class org.jbpm.workflow.core.impl.ExtendedNodeImpl
containsActions, getActions, getActionTypes, setActions
-
Methods inherited from class org.jbpm.workflow.core.impl.NodeImpl
addConstraint, addIncomingConnection, addOutgoingConnection, clearIncomingConnection, clearOutgoingConnection, getConstraint, getConstraints, getDefaultIncomingConnections, getDefaultOutgoingConnections, getFrom, getId, getIncomingConnections, getIncomingConnections, getMetaData, getMetaData, getName, getNodeContainer, getNodeType, getNodeUniqueId, getOutgoingConnections, getOutgoingConnections, getTo, getUniqueId, internalGetConstraint, removeIncomingConnection, removeOutgoingConnection, resolveContext, setConstraint, setContext, setId, setMetaData, setMetaData, setName, setNodeContainer, setNodeType, validateRemoveIncomingConnection, validateRemoveOutgoingConnection
-
-
-
-
Field Detail
-
DRL_LANG
public static final String DRL_LANG
- See Also:
- Constant Field Values
-
DMN_LANG
public static final String DMN_LANG
- See Also:
- Constant Field Values
-
-
Method Detail
-
setRuleFlowGroup
public void setRuleFlowGroup(String ruleFlowGroup)
-
getRuleFlowGroup
public String getRuleFlowGroup()
-
getLanguage
public String getLanguage()
-
setLanguage
public void setLanguage(String language)
-
getNamespace
public String getNamespace()
-
setNamespace
public void setNamespace(String namespace)
-
getModel
public String getModel()
-
setModel
public void setModel(String model)
-
getDecision
public String getDecision()
-
setDecision
public void setDecision(String decision)
-
getDecisionService
public String getDecisionService()
-
setDecisionService
public void setDecisionService(String decisionService)
-
validateAddIncomingConnection
public void validateAddIncomingConnection(String type, org.kie.api.definition.process.Connection connection)
- Overrides:
validateAddIncomingConnectionin classNodeImpl
-
validateAddOutgoingConnection
public void validateAddOutgoingConnection(String type, org.kie.api.definition.process.Connection connection)
- Overrides:
validateAddOutgoingConnectionin classNodeImpl
-
addInAssociation
public void addInAssociation(DataAssociation dataAssociation)
-
getInAssociations
public List<DataAssociation> getInAssociations()
-
addOutAssociation
public void addOutAssociation(DataAssociation dataAssociation)
-
getOutAssociations
public List<DataAssociation> getOutAssociations()
-
isDMN
public boolean isDMN()
-
getContexts
public List<Context> getContexts(String contextType)
- Specified by:
getContextsin interfaceContextContainer
-
addContext
public void addContext(Context context)
- Specified by:
addContextin interfaceContextContainer
-
getContext
public Context getContext(String contextType, long id)
- Specified by:
getContextin interfaceContextContainer
-
setDefaultContext
public void setDefaultContext(Context context)
- Specified by:
setDefaultContextin interfaceContextContainer
-
getDefaultContext
public Context getDefaultContext(String contextType)
- Specified by:
getDefaultContextin interfaceContextContainer
-
getContext
public Context getContext(String contextId)
- Specified by:
getContextin interfaceContextable- Overrides:
getContextin classNodeImpl
-
-