public class Workflow extends CompositeActivity implements C2KLocalObject
WfVertex.Types| Modifier and Type | Field and Description |
|---|---|
History |
history |
active, mErrors, statemIsComposite, NAME| Constructor and Description |
|---|
Workflow() |
Workflow(CompositeActivity domain,
PredefinedStepContainer predef) |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<Job> |
calculateJobs(AgentPath agent,
ItemPath itemPath,
int type)
if type = 0 only domain steps will be queried if type = 1 only predefined steps will be queried else both will be queried
|
String |
getClusterType() |
TypeNameAndConstructionInfo[] |
getEdgeTypeNameAndConstructionInfo()
getVertexTypeNameAndConstructionInfo() added by Steve
|
History |
getHistory() |
History |
getHistory(Object locker)
Caches a History object for this Item, using the workflow as a locker.
|
ItemPath |
getItemPath() |
String |
getItemUUID() |
String |
getName() |
String |
getPath() |
String |
getType()
Returns the type.
|
TypeNameAndConstructionInfo[] |
getVertexTypeNameAndConstructionInfo()
getVertexTypeNameAndConstructionInfo() added by Steve
|
Workflow |
getWf() |
boolean |
hasGoodNumberOfActivity()
Method hasGoodNumberOfActivity.
|
void |
initialise(ItemPath itemPath,
AgentPath agent,
Object locker)
Method initialise.
|
String |
requestAction(AgentPath agent,
AgentPath delegator,
String stepPath,
ItemPath itemPath,
int transitionID,
String requestData)
Method requestAction.
|
void |
setItemPath(ItemPath itemPath) |
void |
setItemUUID(String uuid) |
void |
setName(String name) |
boolean |
verify()
launch the verification of the subprocess()
|
abort, addNext, addNext, calculateAllJobs, calculateJobs, getDefaultSMName, hasActive, initChild, newAtomChild, newChild, newChild, newChild, newCompChild, newExistingChild, newJoinChild, newSplitChild, refreshJobs, reinit, request, run, runNext, setChildrenGraphModel, setFirstVertexaddNext, getActive, getCurrentAgentName, getCurrentAgentRole, getDescription, getErrors, getNext, getState, getStateDate, getStateMachine, getStateName, getTypeName, isFinished, loop, pushJobsToAgents, runActivityLogic, runFirst, setActive, setActiveDate, setStartDate, setState, setStateDate, setTypeevaluateProperty, evaluatePropertyValue, evaluateScript, getDataHelperaddChild, deriveVersionNumber, getCentrePoint, getChildGraphModel, getChildren, getChildrenEdges, getChildrenGraphModel, getCreationContext, getInEdgeIds, getInEdges, getIsComposite, getIsLayoutable, getKeyValuePairs, getLayoutableChildren, getOutEdgeIds, getOutEdges, getOutGraphables, getOutlinePoints, getParent, getProperties, search, setIsComposite, setIsLayoutable, setKeyValuePairs, setParent, setPropertiesaddInEdgeId, addOutEdgeId, clearTag, containsPoint, getGraphModel, getHeight, getID, getWidth, hasTag, isJoin, isLoop, moveAbsolute, removeInEdgeId, removeOutEdgeId, setCentrePoint, setGraphModel, setHeight, setID, setInEdgeIds, setOutEdgeIds, setOutlinePoints, setTag, setWidthpublic History history
public Workflow()
Object.Object()public Workflow(CompositeActivity domain, PredefinedStepContainer predef)
public History getHistory(Object locker) throws InvalidDataException
locker - InvalidDataExceptionpublic History getHistory() throws InvalidDataException
InvalidDataExceptionpublic TypeNameAndConstructionInfo[] getVertexTypeNameAndConstructionInfo()
public TypeNameAndConstructionInfo[] getEdgeTypeNameAndConstructionInfo()
public String requestAction(AgentPath agent, AgentPath delegator, String stepPath, ItemPath itemPath, int transitionID, String requestData) throws ObjectNotFoundException, AccessRightsException, InvalidTransitionException, InvalidDataException, ObjectAlreadyExistsException, PersistencyException, ObjectCannotBeUpdated, CannotManageException, InvalidCollectionModification
agentInfo - stepPath - transitionID - reguestData - ObjectNotFoundExceptionAccessRightsExceptionInvalidTransitionExceptionInvalidDataExceptionPersistencyExceptionObjectCannotBeUpdatedCannotManageExceptionInvalidCollectionModificationObjectAlreadyExistsExceptionpublic String getPath()
getPath in class GraphableVertexGraphableVertex.getPath()public String getName()
getName in interface C2KLocalObjectgetName in class VertexVertex.getName()public String getType()
ActivitygetType in class CompositeActivityActivity.getType()public void setName(String name)
setName in interface C2KLocalObjectsetName in class VertexVertex.setName(java.lang.String)public boolean verify()
CompositeActivityverify in class CompositeActivityWfVertex.verify()public Workflow getWf()
getWf in class WfVertexWfVertex.getWf()public void initialise(ItemPath itemPath, AgentPath agent, Object locker) throws InvalidDataException
systemKey - InvalidDataExceptionObjectNotFoundExceptionAccessRightsExceptionInvalidTransitionExceptionObjectAlreadyExistsExceptionObjectCannotBeUpdatedpublic ItemPath getItemPath()
public void setItemPath(ItemPath itemPath)
public void setItemUUID(String uuid) throws InvalidItemPathException
InvalidItemPathExceptionpublic String getItemUUID()
public ArrayList<Job> calculateJobs(AgentPath agent, ItemPath itemPath, int type) throws InvalidAgentPathException, ObjectNotFoundException, InvalidDataException
agent - itemSysKey - type - ObjectNotFoundExceptionInvalidDataExceptionInvalidAgentPathExceptionpublic boolean hasGoodNumberOfActivity()
CompositeActivityhasGoodNumberOfActivity in class CompositeActivityCompositeActivity.hasGoodNumberOfActivity()public String getClusterType()
getClusterType in interface C2KLocalObjectC2KLocalObject.getClusterType()Copyright © 1997–2016 CRISTAL-iSE. All rights reserved.