public class WorkItemNode extends StateBasedNode implements Mappable, ContextContainer
EVENT_NODE_ENTER, EVENT_NODE_EXIT
constraints, EMPTY_NODE_ARRAY
CONNECTION_DEFAULT_TYPE
Constructor and Description |
---|
WorkItemNode() |
Modifier and Type | Method and Description |
---|---|
void |
addContext(Context context) |
void |
addInAssociation(DataAssociation dataAssociation) |
void |
addInMapping(String parameterName,
String variableName) |
void |
addOutAssociation(DataAssociation dataAssociation) |
void |
addOutMapping(String parameterName,
String variableName) |
void |
adjustOutMapping(String forEachOutVariable) |
Context |
getContext(String contextId) |
Context |
getContext(String contextType,
long id) |
List<Context> |
getContexts(String contextType) |
Context |
getDefaultContext(String contextType) |
List<DataAssociation> |
getInAssociations() |
String |
getInMapping(String parameterName) |
Map<String,String> |
getInMappings() |
List<DataAssociation> |
getOutAssociations() |
String |
getOutMapping(String parameterName) |
Map<String,String> |
getOutMappings() |
org.drools.core.process.core.Work |
getWork() |
boolean |
isWaitForCompletion() |
void |
setDefaultContext(Context context) |
void |
setInMappings(Map<String,String> inMapping) |
void |
setOutMappings(Map<String,String> outMapping) |
void |
setWaitForCompletion(boolean waitForCompletion) |
void |
setWork(org.drools.core.process.core.Work work) |
void |
validateAddIncomingConnection(String type,
org.kie.api.definition.process.Connection connection) |
void |
validateAddOutgoingConnection(String type,
org.kie.api.definition.process.Connection connection) |
addBoundaryEvents, addTimer, getBoundaryEvents, getTimers, removeAllTimers, setBoundaryEvents
containsActions, getActions, getActionTypes, setActions
addConstraint, addIncomingConnection, addOutgoingConnection, clearIncomingConnection, clearOutgoingConnection, getConstraint, getConstraints, 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
public org.drools.core.process.core.Work getWork()
public void setWork(org.drools.core.process.core.Work work)
public void addInMapping(String parameterName, String variableName)
addInMapping
in interface Mappable
public void setInMappings(Map<String,String> inMapping)
setInMappings
in interface Mappable
public String getInMapping(String parameterName)
getInMapping
in interface Mappable
public Map<String,String> getInMappings()
getInMappings
in interface Mappable
public void addInAssociation(DataAssociation dataAssociation)
addInAssociation
in interface Mappable
public List<DataAssociation> getInAssociations()
getInAssociations
in interface Mappable
public void addOutMapping(String parameterName, String variableName)
addOutMapping
in interface Mappable
public void adjustOutMapping(String forEachOutVariable)
public void setOutMappings(Map<String,String> outMapping)
setOutMappings
in interface Mappable
public String getOutMapping(String parameterName)
getOutMapping
in interface Mappable
public Map<String,String> getOutMappings()
getOutMappings
in interface Mappable
public void addOutAssociation(DataAssociation dataAssociation)
addOutAssociation
in interface Mappable
public List<DataAssociation> getOutAssociations()
getOutAssociations
in interface Mappable
public boolean isWaitForCompletion()
public void setWaitForCompletion(boolean waitForCompletion)
public void validateAddIncomingConnection(String type, org.kie.api.definition.process.Connection connection)
validateAddIncomingConnection
in class NodeImpl
public void validateAddOutgoingConnection(String type, org.kie.api.definition.process.Connection connection)
validateAddOutgoingConnection
in class NodeImpl
public List<Context> getContexts(String contextType)
getContexts
in interface ContextContainer
public void addContext(Context context)
addContext
in interface ContextContainer
public Context getContext(String contextType, long id)
getContext
in interface ContextContainer
public void setDefaultContext(Context context)
setDefaultContext
in interface ContextContainer
public Context getDefaultContext(String contextType)
getDefaultContext
in interface ContextContainer
public Context getContext(String contextId)
getContext
in interface Contextable
getContext
in class NodeImpl
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.