public class YAtomicTask extends YTask
_AND, _dataMappingsForTaskEnablement, _dataMappingsForTaskStarting, _decompositionPrototype, _i, _mi_active, _mi_complete, _mi_entered, _mi_executing, _multiInstAttr, _OR, _XOR_documentation, _name, _net| Constructor and Description |
|---|
YAtomicTask(java.lang.String id,
int joinType,
int splitType,
YNet container)
Constructs a new atomic task.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(YPersistenceManager pmgr)
Cancels a task.
|
void |
cancel(YPersistenceManager pmgr,
YIdentifier caseID)
Cancels the task.
|
java.lang.Object |
clone()
Clones this atomic task.
|
java.util.Map |
getDataMappingsForEnablement()
Deprecated.
Since 2.0, enablement mappings have no function.
|
boolean |
isRunning()
Checks that a task is currently executing.
|
Element |
prepareEnablementData()
Deprecated.
Since 2.0, enablement mappings have no function.
|
void |
setDataMappingsForEnablement(java.util.Map<java.lang.String,java.lang.String> map)
Deprecated.
Since 2.0, enablement mappings have no function.
|
protected void |
startOne(YPersistenceManager pmgr,
YIdentifier id)
Changes the inner state of an atomic task from entered to executing.
|
boolean |
t_rollBackToFired(YPersistenceManager pmgr,
YIdentifier caseID)
Rolls back a task's inner state from 'executing' to 'entered'.
|
void |
verify(YVerificationHandler handler)
Verifies this atomic task definition against YAWL semantics.
|
addRemovesTokensFrom, checkExternalMapping, checkXQuery, createFiredIdentifier, evaluateTreeQuery, get_inputLogDataItems, get_outputLogDataItems, getAllInternalConditions, getConfiguration, getConfigurationElement, getCustomFormURL, getData, getDataBindingForEnablementParam, getDataBindingForInputParam, getDataBindingForOutputParam, getDataMappingsForTaskCompletion, getDataMappingsForTaskStarting, getDecompositionPrototype, getDefaultConfiguration, getDefaultConfigurationElement, getInformation, getJoinType, getMIActive, getMIComplete, getMIEntered, getMIExecuting, getMIOutputAssignmentVar, getMultiInstanceAttributes, getNetRunnerRepository, getParamNamesForTaskCompletion, getParamNamesForTaskEnablement, getParamNamesForTaskStarting, getPredicate, getPreSplittingMIQuery, getRemoveSet, getResetNet, getResourcingSpecs, getResourcingXML, getSpecVersion, getSplitType, getStartingDataSnapshot, getTimerParameters, getTimerVariable, getWorkItemRepository, isMultiInstance, isPopulatedEmptyTypeFlag, performDataExtraction, performExternalDataExtraction, performSchemaValidationOverExtractionResult, prepareDataDocsForTaskOutput, prepareDataForInstanceStarting, produceDataRootElement, removeFromRemoveSet, rollbackFired, set_inputLogDataItems, set_outputLogDataItems, setConfiguration, setConfigurationElement, setCustomFormURI, setDataBindingForEnablementParam, setDataBindingForInputParam, setDataBindingForOutputExpression, setDataMappingsForTaskCompletion, setDataMappingsForTaskStarting, setDecompositionPrototype, setDefaultConfiguration, setDefaultConfigurationElement, setI, setJoinType, setMultiInstanceInputDataMappings, setMultiInstanceOutputDataMappings, setResetNet, setResourcingSpecs, setResourcingXML, setSplitType, setTimerParameters, setUpMultipleInstanceAttributes, skipOutboundSchemaChecks, t_add, t_addEnabled, t_complete, t_enabled, t_fire, t_isBusy, t_isExitEnabled, t_start, toXMLaddPostset, addPreset, addToCancelledBySet, addToYawlMappings, addToYawlMappings, getCancelledBySet, getDocumentation, getDocumentationPreParsed, getName, getNet, getPostsetElement, getPostsetElements, getPostsetFlow, getPostsetFlows, getPresetElement, getPresetElements, getPresetFlow, getPresetFlows, getProperID, getYawlMappings, removeFromCancelledBySet, removePostsetFlow, removePresetFlow, setDocumentation, setID, setName, verifyPostsetFlows, verifyPresetFlowscompareTo, getID, toStringpublic void setDataMappingsForEnablement(java.util.Map<java.lang.String,java.lang.String> map)
map - a map of [variable name, query] pairs.protected void startOne(YPersistenceManager pmgr, YIdentifier id) throws YPersistenceException
startOne in class YTaskpmgr - an instantiated persistence manager object.id - the identifier to move from inner marking 'entered' to inner marking
'executing'.YPersistenceException - if there's a problem persisting the change.public boolean isRunning()
public void cancel(YPersistenceManager pmgr) throws YPersistenceException
cancel in class YTaskpmgr - an instantiated persistence manager object.YPersistenceException - if there's a problem persisting the change.public void cancel(YPersistenceManager pmgr, YIdentifier caseID) throws YPersistenceException
pmgr - an instantiated persistence manager object.caseID - the case identifier of this atomic task.YPersistenceException - if there's a problem persisting the change.public boolean t_rollBackToFired(YPersistenceManager pmgr, YIdentifier caseID) throws YPersistenceException
pmgr - an instantiated persistence manager object.caseID - the case identifier of this atomic task.YPersistenceException - if there's a problem persisting the change.public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
public java.util.Map getDataMappingsForEnablement()
public Element prepareEnablementData() throws YQueryException, YDataStateException
YQueryException - if there's a problem with a query evaluation.YDataStateException - if there's a problem with the evaluated data.YStateException - if there's a problem setting the task state.public void verify(YVerificationHandler handler)
verify in interface YVerifiableverify in class YTaskYVerificationMessageCopyright © 2004-2014 The YAWL Foundation.