org.jbpm.workflow.core.node
Class WorkItemNode
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.WorkItemNode
- All Implemented Interfaces:
- Serializable, Node, Mappable, Contextable, ContextContainer, ContextResolver
- Direct Known Subclasses:
- HumanTaskNode
public class WorkItemNode
- extends StateBasedNode
- implements Mappable, ContextContainer
Default implementation of a task node.
- See Also:
- Serialized Form
Methods inherited from class org.jbpm.workflow.core.impl.NodeImpl |
addConstraint, addIncomingConnection, addOutgoingConnection, getConstraint, getConstraints, getContext, getDefaultIncomingConnections, getDefaultOutgoingConnections, getFrom, getId, getIncomingConnections, getIncomingConnections, getMetaData, getMetaData, getName, getNodeContainer, getOutgoingConnections, getOutgoingConnections, getTo, getUniqueId, internalGetConstraint, removeIncomingConnection, removeOutgoingConnection, resolveContext, setConstraint, setContext, setId, setMetaData, setMetaData, setName, setNodeContainer, validateRemoveIncomingConnection, validateRemoveOutgoingConnection |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkItemNode
public WorkItemNode()
getWork
public org.drools.process.core.Work getWork()
setWork
public void setWork(org.drools.process.core.Work work)
addInMapping
public void addInMapping(String parameterName,
String variableName)
- Specified by:
addInMapping
in interface Mappable
setInMappings
public void setInMappings(Map<String,String> inMapping)
- Specified by:
setInMappings
in interface Mappable
getInMapping
public String getInMapping(String parameterName)
- Specified by:
getInMapping
in interface Mappable
getInMappings
public Map<String,String> getInMappings()
- Specified by:
getInMappings
in interface Mappable
addInAssociation
public void addInAssociation(DataAssociation dataAssociation)
- Specified by:
addInAssociation
in interface Mappable
getInAssociations
public List<DataAssociation> getInAssociations()
- Specified by:
getInAssociations
in interface Mappable
addOutMapping
public void addOutMapping(String parameterName,
String variableName)
- Specified by:
addOutMapping
in interface Mappable
setOutMappings
public void setOutMappings(Map<String,String> outMapping)
- Specified by:
setOutMappings
in interface Mappable
getOutMapping
public String getOutMapping(String parameterName)
- Specified by:
getOutMapping
in interface Mappable
getOutMappings
public Map<String,String> getOutMappings()
- Specified by:
getOutMappings
in interface Mappable
addOutAssociation
public void addOutAssociation(DataAssociation dataAssociation)
- Specified by:
addOutAssociation
in interface Mappable
getOutAssociations
public List<DataAssociation> getOutAssociations()
- Specified by:
getOutAssociations
in interface Mappable
isWaitForCompletion
public boolean isWaitForCompletion()
setWaitForCompletion
public void setWaitForCompletion(boolean waitForCompletion)
validateAddIncomingConnection
public void validateAddIncomingConnection(String type,
Connection connection)
- Overrides:
validateAddIncomingConnection
in class NodeImpl
validateAddOutgoingConnection
public void validateAddOutgoingConnection(String type,
Connection connection)
- Overrides:
validateAddOutgoingConnection
in class NodeImpl
getContexts
public List<Context> getContexts(String contextType)
- Specified by:
getContexts
in interface ContextContainer
addContext
public void addContext(Context context)
- Specified by:
addContext
in interface ContextContainer
getContext
public Context getContext(String contextType,
long id)
- Specified by:
getContext
in interface ContextContainer
setDefaultContext
public void setDefaultContext(Context context)
- Specified by:
setDefaultContext
in interface ContextContainer
getDefaultContext
public Context getDefaultContext(String contextType)
- Specified by:
getDefaultContext
in interface ContextContainer
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.