org.yawlfoundation.yawl.elements
Class YCompositeTask

java.lang.Object
  extended by org.yawlfoundation.yawl.elements.YNetElement
      extended by org.yawlfoundation.yawl.elements.YExternalNetElement
          extended by org.yawlfoundation.yawl.elements.YTask
              extended by org.yawlfoundation.yawl.elements.YCompositeTask
All Implemented Interfaces:
Cloneable, Comparable, YVerifiable

public final class YCompositeTask
extends YTask

A YCompositeTask object is the executable equivalent of the YCompositeTask in the YAWL paper. It has the same properties and behaviour.

Author:
Lachlan Aldred

Field Summary
 
Fields inherited from class org.yawlfoundation.yawl.elements.YTask
_AND, _dataMappingsForTaskEnablement, _dataMappingsForTaskStarting, _decompositionPrototype, _i, _mi_active, _mi_complete, _mi_entered, _mi_executing, _multiInstAttr, _OR, _XOR
 
Fields inherited from class org.yawlfoundation.yawl.elements.YExternalNetElement
_documentation, _name, _net
 
Constructor Summary
YCompositeTask(String id, int joinType, int splitType, YNet container)
           
 
Method Summary
 void cancel(YPersistenceManager pmgr)
           
 Object clone()
           
protected  void startOne(YPersistenceManager pmgr, YIdentifier id)
          Starts this composite task.
 List<YVerificationMessage> verify()
          VERIFICATION
 
Methods inherited from class org.yawlfoundation.yawl.elements.YTask
addRemovesTokensFrom, checkExternalMapping, checkXQuery, createFiredIdentifier, get_inputLogDataItems, get_outputLogDataItems, getAllInternalConditions, getConfiguration, getConfigurationElement, getCustomFormURL, getData, getDataBindingForEnablementParam, getDataBindingForInputParam, getDataBindingForOutputParam, getDecompositionPrototype, getDefaultConfiguration, getDefaultConfigurationElement, getInformation, getJoinType, getMIActive, getMIComplete, getMIEntered, getMIExecuting, getMIOutputAssignmentVar, getMultiInstanceAttributes, getNetRunnerRepository, getParamNamesForTaskCompletion, getParamNamesForTaskEnablement, getParamNamesForTaskStarting, getPredicate, getPreSplittingMIQuery, getRemoveSet, getResetNet, getResourcingSpecs, getResourcingXML, getSpecVersion, getSplitType, getTimeParameters, getTimerVariable, getWorkItemRepository, isMultiInstance, isPopulatedEmptyTypeFlag, performDataExtraction, performExternalDataExtraction, 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, setTimerParameters, setTimerParameters, setTimerParameters, setUpMultipleInstanceAttributes, t_add, t_addEnabled, t_complete, t_enabled, t_fire, t_isBusy, t_isExitEnabled, t_start, timerParamsToXML, toXML
 
Methods inherited from class org.yawlfoundation.yawl.elements.YExternalNetElement
addPostset, addPreset, addToCancelledBySet, addToYawlMappings, addToYawlMappings, getCancelledBySet, getDocumentation, getDocumentationPreParsed, getName, getNet, getPostsetElement, getPostsetElements, getPostsetFlow, getPostsetFlows, getPresetElement, getPresetElements, getPresetFlow, getPresetFlows, getProperID, getYawlMappings, removeFromCancelledBySet, removePostsetFlow, removePresetFlow, setDocumentation, setName, verifyPostsetFlows, verifyPresetFlows
 
Methods inherited from class org.yawlfoundation.yawl.elements.YNetElement
compareTo, getID, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

YCompositeTask

public YCompositeTask(String id,
                      int joinType,
                      int splitType,
                      YNet container)
Method Detail

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class YTask
Throws:
CloneNotSupportedException

startOne

protected void startOne(YPersistenceManager pmgr,
                        YIdentifier id)
                 throws YDataStateException,
                        YPersistenceException,
                        YQueryException,
                        YStateException
Starts this composite task.

Specified by:
startOne in class YTask
Parameters:
pmgr - a valid persistence manager instance
id - the task identifier
Throws:
YDataStateException
YPersistenceException
YQueryException
YStateException

cancel

public void cancel(YPersistenceManager pmgr)
            throws YPersistenceException
Overrides:
cancel in class YTask
Throws:
YPersistenceException

verify

public List<YVerificationMessage> verify()
VERIFICATION

Specified by:
verify in interface YVerifiable
Overrides:
verify in class YTask
Returns:
a List of YVerificationMessage objects
See Also:
YVerificationMessage


Copyright © 2004-2012 The YAWL Foundation.