|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.plan.InternalDependencyInPlan
Internal dependencies plan associations of jobs with other jobs. This class represent the link between a Job instance and another Job instance. Note that the two linked jobs must be in the same Job Stream instance.
The following syntax validation constraints must be met on InternalDependencyInPlan objects:
jobKey | Reference to an existing job |
status | The status of the dependency, the default is Unsatisfied. |
Output Only. | |
satisfied | Output Only. |
internalStatus | A FlowNodeInternalStatusType value |
Output Only. | |
taskData | N/A |
transportTime | N/A |
extendedName | N/A |
onCriticalPath | N/A |
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright |
Constructor Summary | |
---|---|
InternalDependencyInPlan()
Creates an empty InternalDependencyInPlan. |
|
InternalDependencyInPlan(Identifier id,
JobInPlanKey key)
Creates an InternalDependencyInPlan, specifying the identifier and key of the referenced job. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if all fields of this InternalDependencyInPlan object are equal to those of the given one. |
java.lang.String |
getExtendedName()
Returns the extended name. |
Identifier |
getId()
Returns the Identifier of the referenced job |
FlowNodeInternalStatusType |
getInternalStatus()
Retrurns the internal job status. |
Identifier |
getJobId()
Returns the identifier of the referenced job. |
JobInPlanKey |
getJobKey()
Returns the key of the referenced job. |
DependencyStatusType |
getStatus()
Return the status of this dependency. |
java.lang.String |
getTaskData()
Returns the task data of the dependent job. |
int |
getTransportTime()
Returns the transport time. |
int |
hashCode()
Returns a hash code for this InternalDependencyInPlan object. |
boolean |
isOnCriticalPath()
Returns the information if the predecessor/successor job is on the critical path It is a z/OS specific method. |
boolean |
isSatisfied()
Returns true if this dependency is satisfied, false otherwise. |
void |
setExtendedName(java.lang.String extendedName)
Sets the extendend name. |
void |
setInternalStatus(FlowNodeInternalStatusType value)
Sets the internal status. |
void |
setJobId(Identifier identifier)
Sets the identifier of the referenced job. |
void |
setJobKey(JobInPlanKey key)
Sets the key of the referenced job. |
void |
setOnCriticalPath(boolean onCriticalPath)
Set if the predecessor/successor job is on the critical path It is a z/OS specific method. |
void |
setSatisfied(boolean b)
Sets if this dependency is satisfied or not. |
void |
setStatus(DependencyStatusType type)
Set the status of this dependency. |
void |
setTaskData(java.lang.String value)
Sets the task data of the dependent job. |
void |
setTransportTime(int value)
Sets the transport time. |
java.lang.String |
toString()
Returns a string representation of this InternalDependencyInPlan. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public InternalDependencyInPlan()
public InternalDependencyInPlan(Identifier id, JobInPlanKey key)
id
- The identifier of the referenced job.key
- The key of the referenced job.Method Detail |
public Identifier getId()
getId
in interface TWSLink
TWSLink.getId()
public Identifier getJobId()
public JobInPlanKey getJobKey()
public DependencyStatusType getStatus()
public java.lang.String getTaskData()
public int getTransportTime()
public FlowNodeInternalStatusType getInternalStatus()
public boolean isOnCriticalPath()
public java.lang.String getExtendedName()
public void setJobId(Identifier identifier)
identifier
- The identifier of the referenced job.public void setJobKey(JobInPlanKey key)
key
- The key of the referenced job.public void setStatus(DependencyStatusType type)
type
- public void setTaskData(java.lang.String value)
value
- The task data of the dependent job.public void setTransportTime(int value)
value
- The transport time.public void setInternalStatus(FlowNodeInternalStatusType value)
value
- The internal status.public void setOnCriticalPath(boolean onCriticalPath)
onCriticalPath
- The new value to set.public boolean equals(java.lang.Object object)
object
- The object to be compared with this one.
public int hashCode()
public java.lang.String toString()
public boolean isSatisfied()
public void setSatisfied(boolean b)
b
- public void setExtendedName(java.lang.String extendedName)
extendedName
- The new value to set.
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |