|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.plan.ExternalDependencyInPlan
External dependencies plan associations of jobs and job streams with other jobs or job streams. This class represent the link between a Job (or Job Stream) instance and a Job (or Job Stream) instance. Note that if the link is between two jobs they cannot be in the same Job Stream instance.
The following syntax validation constraints must be met on ExternalDependencyInPlan objects:
jobStreamKey | If specified, must reference an existing job stream |
jobKey | If specified, must reference an existing job |
status | The status of the dependency, the default is Unsatisfied. |
Output Only. | |
satisfied | Output Only |
pending | Output Only. |
zombie | Output Only. |
internalStatus | A FlowNodeInternalStatusType value. |
Output Only. | |
taskData | N/A |
transportTime | N/A |
extendedName | N/A |
onCriticalPath | N/A |
com.ibm.tws.objects.plan.types.InternalStatusType
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
ExternalDependencyInPlan()
Creates an empty ExternalDependencyInPlan. |
|
ExternalDependencyInPlan(Identifier id,
JobInPlanKey key)
Creates an ExternalDependencyInPlan, specifying the identifier and key of the referenced abstract job. |
|
ExternalDependencyInPlan(Identifier id,
JobStreamInPlanKey key)
Creates an ExternalDependencyInPlan, specifying the identifier and key of the referenced abstract job stream. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if all fields of this ExternalDependencyInPlan object are equal to those of the given one. |
Identifier |
getAbstractJobId()
Deprecated. |
JobInPlanKey |
getAbstractJobKey()
Deprecated. |
Identifier |
getAbstractJobStreamId()
Deprecated. |
JobStreamInPlanKey |
getAbstractJobStreamKey()
Deprecated. |
java.lang.String |
getExtendedName()
Returns the extended name. |
Identifier |
getId()
Returns the object's Identifiers |
FlowNodeInternalStatusType |
getInternalStatus()
Returns the internal job status. |
Identifier |
getJobId()
Returns the identifier of the referenced job. |
JobInPlanKey |
getJobKey()
Returns the key of the referenced job. |
Identifier |
getJobStreamId()
Returns the identifier of the referenced job stream. |
JobStreamInPlanKey |
getJobStreamKey()
Returns the key of the referenced job stream. |
DependencyStatusType |
getStatus()
Returns the status of the 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 ExternalDependencyInPlan object. |
boolean |
isOnCriticalPath()
Returns the information if the predecessor/successor job is on the critical path z/OS only method |
boolean |
isPending()
Returns true if the dependency is pending. |
boolean |
isSatisfied()
Returns if this Dependency is a satisfied. |
boolean |
isZombie()
Returns if this Dependency is a zombie. |
void |
setAbstractJobId(Identifier identifier)
Deprecated. |
void |
setAbstractJobKey(JobInPlanKey key)
Deprecated. |
void |
setAbstractJobStreamId(Identifier identifier)
Deprecated. |
void |
setAbstractJobStreamKey(JobStreamInPlanKey key)
Deprecated. |
void |
setExtendedName(java.lang.String extendedName)
Sets the extended 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 |
setJobStreamId(Identifier identifier)
Sets the identifier of the referenced job stream. |
void |
setJobStreamKey(JobStreamInPlanKey key)
Sets the key of the referenced job stream. |
void |
setOnCriticalPath(boolean onCriticalPath)
Sets on Critical Path z/OS only method. |
void |
setPending(boolean value)
Sets if this Dependency is Pending For Internal Use Only. |
void |
setSatisfied(boolean b)
Sets if this Dependency is satisfied. |
void |
setStatus(DependencyStatusType type)
Sets the Dependency Status. |
void |
setTaskData(java.lang.String value)
Sets the task data of the dependent job. |
void |
setTransportTime(int value)
Sets the transport time. |
void |
setZombie(boolean b)
Sets if this Dependency is a zombie. |
java.lang.String |
toString()
Returns a string representation of this ExternalDependencyInPlan. |
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 ExternalDependencyInPlan()
public ExternalDependencyInPlan(Identifier id, JobStreamInPlanKey key)
id
- The identifier of the referenced abstract job stream.key
- The key of the referenced abstract job stream.public ExternalDependencyInPlan(Identifier id, JobInPlanKey key)
id
- The identifier of the referenced abstract job.key
- The key of the referenced abstract job.Method Detail |
public Identifier getId()
getId
in interface TWSLink
TWSLink.getId()
public Identifier getAbstractJobStreamId()
public Identifier getJobStreamId()
public JobStreamInPlanKey getAbstractJobStreamKey()
public JobStreamInPlanKey getJobStreamKey()
public Identifier getAbstractJobId()
public Identifier getJobId()
public JobInPlanKey getAbstractJobKey()
public JobInPlanKey getJobKey()
public DependencyStatusType getStatus()
public boolean isPending()
public boolean isOnCriticalPath()
public java.lang.String getTaskData()
public int getTransportTime()
public FlowNodeInternalStatusType getInternalStatus()
FlowNodeInternalStatusType
public java.lang.String getExtendedName()
public void setAbstractJobStreamId(Identifier identifier)
identifier
- The identifier of the referenced abstract job stream.public void setJobStreamId(Identifier identifier)
identifier
- The identifier of the referenced job stream.public void setAbstractJobStreamKey(JobStreamInPlanKey key)
key
- The key of the referenced abstract job stream.public void setJobStreamKey(JobStreamInPlanKey key)
key
- The key of the referenced job stream.public void setAbstractJobId(Identifier identifier)
identifier
- The identifier of the referenced abstract job.public void setJobId(Identifier identifier)
identifier
- The identifier of the referenced job.public void setAbstractJobKey(JobInPlanKey key)
key
- The key of the referenced abstract job.public void setJobKey(JobInPlanKey key)
key
- The key of the referenced job.public void setStatus(DependencyStatusType type)
type
- the Dependency Status.public void setPending(boolean value)
value
- true if this Dependency is pending, false otherwise.public void setOnCriticalPath(boolean onCriticalPath)
onCriticalPath
- The onCriticalPath to set.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 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 isZombie()
public void setZombie(boolean b)
b
- true if this Dependency is a zombie, false otherwise.public boolean isSatisfied()
public void setSatisfied(boolean b)
b
- true if this Dependency is satisfied, false otherwise.public void setExtendedName(java.lang.String extendedName)
extendedName
- The extendedName to set.
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |