public class ExletRunner extends AbstractRunner
_caseID, _dataString, _ruleNodeId, _ruleType, _wir, _wirID
Constructor and Description |
---|
ExletRunner(java.lang.String caseID,
RdrConclusion rdrConc,
RuleType xType)
This constructor is used when an exception is raised at the case level
|
ExletRunner(WorkItemRecord wir,
RdrConclusion rdrConc,
RuleType xType)
This constructor is used when an exception is raised at the workitem level
|
Modifier and Type | Method and Description |
---|---|
void |
addWorklet(WorkletRunner runner) |
protected void |
addWorkletRunners(java.util.Set<WorkletRunner> runners) |
void |
clearCaseSuspended()
called when an action unsuspends the case of this ExletRunner
|
void |
clearSuspendedItems()
called when an action unsuspends the item or parent case of this ExletRunner
|
int |
getActionCount() |
int |
getActionIndex() |
Element |
getDataForCaseLaunch() |
java.lang.String |
getNextAction() |
java.lang.String |
getNextTarget() |
java.util.Set<java.lang.String> |
getSuspendedItems() |
java.lang.String |
getTrigger() |
Element |
getWorkItemDatalist() |
Element |
getWorkItemUpdatedData() |
java.util.Set<WorkletRunner> |
getWorkletRunners() |
boolean |
hasNextAction() |
boolean |
hasRunningWorklet() |
int |
incActionIndex() |
boolean |
isCaseSuspended() |
boolean |
isItemSuspended() |
WorkletRunner |
removeWorklet(java.lang.String caseID) |
WorkletRunner |
removeWorklet(WorkletRunner runner) |
void |
removeWorklets(java.util.Set<WorkletRunner> toRemove) |
java.util.Set<WorkletRunner> |
restoreWorkletRunners() |
void |
setCaseSuspended()
called when an action suspends the case of this ExletRunner
|
void |
setData(Element dataElem) |
void |
setItem(WorkItemRecord item) |
void |
setItemSuspended()
called when an action suspends the workitem of this ExletRunner
|
void |
setSuspendedItems(java.util.Set<WorkItemRecord> items)
called when an action suspends the item or parent case of this ExletRunner
|
void |
setTrigger(java.lang.String trigger) |
void |
unsetItemSuspended()
called when an action unsuspends the workitem of this ExletRunner
|
fromXNode, getCaseID, getDataListString, getID, getParentWorkItemID, getRuleNodeID, getRuleType, getTaskID, getWir, getWorkItemData, getWorkItemID, setRuleNodeID, toString, toXNode
public ExletRunner(java.lang.String caseID, RdrConclusion rdrConc, RuleType xType)
rdrConc
- the RdrConclusion of a rule that represents the handling processpublic ExletRunner(WorkItemRecord wir, RdrConclusion rdrConc, RuleType xType)
public java.lang.String getNextAction()
public java.lang.String getNextTarget()
public int getActionIndex()
public int getActionCount()
public java.util.Set<java.lang.String> getSuspendedItems()
public void setData(Element dataElem)
public Element getDataForCaseLaunch()
public Element getWorkItemDatalist()
public Element getWorkItemUpdatedData()
public void addWorklet(WorkletRunner runner)
public WorkletRunner removeWorklet(WorkletRunner runner)
public WorkletRunner removeWorklet(java.lang.String caseID)
public void removeWorklets(java.util.Set<WorkletRunner> toRemove)
public boolean hasRunningWorklet()
public java.util.Set<WorkletRunner> getWorkletRunners()
protected void addWorkletRunners(java.util.Set<WorkletRunner> runners)
public java.util.Set<WorkletRunner> restoreWorkletRunners()
public void setTrigger(java.lang.String trigger)
public java.lang.String getTrigger()
public void setItem(WorkItemRecord item)
public void setItemSuspended()
public void unsetItemSuspended()
public void setCaseSuspended()
public void clearCaseSuspended()
public void setSuspendedItems(java.util.Set<WorkItemRecord> items)
public void clearSuspendedItems()
public int incActionIndex()
public boolean hasNextAction()
public boolean isItemSuspended()
public boolean isCaseSuspended()
Copyright © 2004-2014 The YAWL Foundation.