public class Job extends Object implements C2KLocalObject
| Constructor and Description |
|---|
Job()
Empty constructor for Castor
|
Job(Activity act,
ItemPath itemPath,
Transition transition,
AgentPath agent,
String role) |
public Job()
public Job(Activity act, ItemPath itemPath, Transition transition, AgentPath agent, String role) throws InvalidDataException, ObjectNotFoundException, InvalidAgentPathException
public String getOriginStateName()
public void setOriginStateName(String originStateName)
public String getTargetStateName()
public void setTargetStateName(String targetStateName)
public int getId()
public void setId(int id)
public ItemPath getItemPath()
public void setItemPath(ItemPath path)
public void setItemUUID(String uuid) throws InvalidItemPathException
InvalidItemPathExceptionpublic String getItemUUID()
public String getStepName()
public void setStepName(String string)
public String getStepPath()
public void setStepPath(String string)
public String getStepType()
public void setStepType(String actType)
public GTimeStamp getCreationDate()
public void setCreationDate(GTimeStamp creationDate)
public Transition getTransition()
public void setTransition(Transition transition)
public AgentPath getAgentPath() throws ObjectNotFoundException
ObjectNotFoundExceptionpublic void setAgentPath(AgentPath agentPath)
public AgentPath getDelegatePath() throws ObjectNotFoundException
ObjectNotFoundExceptionpublic void setDelegatePath(AgentPath delegatePath)
public void setAgentUUID(String uuid) throws InvalidItemPathException
InvalidItemPathExceptionpublic String getAgentUUID()
public String getAgentName()
public String getDelegateName()
public void setAgentName(String agentName) throws ObjectNotFoundException
ObjectNotFoundExceptionpublic void setDelegateName(String delegateName) throws ObjectNotFoundException
ObjectNotFoundExceptionpublic String getAgentRole()
public void setAgentRole(String role)
public Schema getSchema() throws InvalidDataException, ObjectNotFoundException
@Deprecated public String getSchemaName() throws InvalidDataException, ObjectNotFoundException
@Deprecated public int getSchemaVersion() throws InvalidDataException, ObjectNotFoundException
public boolean isOutcomeRequired()
public Script getScript() throws ObjectNotFoundException, InvalidDataException
@Deprecated public String getScriptName()
@Deprecated public int getScriptVersion() throws InvalidDataException
InvalidDataExceptionpublic KeyValuePair[] getKeyValuePairs()
public void setKeyValuePairs(KeyValuePair[] pairs)
public String getName()
getName in interface C2KLocalObjectpublic void setName(String name)
setName in interface C2KLocalObjectpublic ItemProxy getItemProxy() throws ObjectNotFoundException, InvalidItemPathException
public String getDescription()
public void setOutcome(String outcome)
public void setOutcome(Outcome outcome)
public void setError(ErrorInfo errors)
public String getLastView() throws InvalidDataException, ObjectNotFoundException
public OutcomeInitiator getOutcomeInitiator() throws InvalidDataException
InvalidDataExceptionpublic String getOutcomeString() throws InvalidDataException
InvalidDataExceptionpublic Outcome getOutcome() throws InvalidDataException, ObjectNotFoundException
public boolean hasOutcome()
public boolean hasScript()
public boolean isOutcomeSet()
public String getClusterType()
getClusterType in interface C2KLocalObjectCopyright © 1997–2016 CRISTAL-iSE. All rights reserved.