|
Oracle Fusion Applications Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.2) E20742-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.as.scheduler.JobSetStep
public class JobSetStep
The JobSetStep class represents a step within a JobSet, for example, a JobDefinition or a nested JobSet. Note: This step is validated in the context of a JobSet by JobSet.validate().
Nested Class Summary | |
---|---|
static class |
JobSetStep.LinkType
Link types for the links for a serial JobSetStep. |
Constructor Summary | |
---|---|
JobSetStep(java.lang.String stepId,
MetadataObjectId jobId)
Constructs a JobSetStep. |
|
JobSetStep(java.lang.String stepId,
MetadataObjectId jobId,
ParameterList stepParams)
Constructs a JobSetStep. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Checks if the object is equal to this JobSetStep. |
MetadataObjectId |
getJobId()
Gets the job id for this step. |
java.lang.String |
getLink(JobSetStep.LinkType linkType)
Returns the stepId for the given LinkType . |
java.lang.String |
getStepId()
Gets the stepId for this step. |
ParameterList |
getStepProps()
Returns the parameters and properties for this step. |
void |
setJobId(MetadataObjectId jobId)
Sets the jobId for this step. |
void |
setLink(JobSetStep.LinkType linkType,
java.lang.String linkStepId)
Defines a linked step for the given LinkType . |
void |
setStepId(java.lang.String stepId)
Deprecated. step id is immutable. |
void |
setStepProps(ParameterList stepParams)
Sets the parameters and step properties for this step. |
java.lang.String |
toDebugString()
Returns a debug String representation for this JobSetStep object. |
java.lang.String |
toString()
Returns a String representation for this JobSetStep object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JobSetStep(java.lang.String stepId, MetadataObjectId jobId)
stepId
- a step id that is unique within the JobSet.jobId
- the MetadataObjectId of the JobDefinition or
JobSet for this step.public JobSetStep(java.lang.String stepId, MetadataObjectId jobId, ParameterList stepParams)
stepId
- a step id that is unique within the JobSet.jobId
- the MetadataObjectId of the JobDefinition or
JobSet for this step.stepParams
- the step parameters and properties for this step.Method Detail |
---|
public void setLink(JobSetStep.LinkType linkType, java.lang.String linkStepId)
LinkType
.
The given stepId will be run when this step completes with a state matching the link type.
linkType
- the type of link to set.linkStepId
- the id of the step for the linkType.public java.lang.String getLink(JobSetStep.LinkType linkType)
LinkType
.
linkType
- the link type to get the step id for.
@Deprecated public void setStepId(java.lang.String stepId)
public java.lang.String getStepId()
public void setJobId(MetadataObjectId jobId)
jobId
- the job id (JobDefinition or JobSet) for this step.public MetadataObjectId getJobId()
public void setStepProps(ParameterList stepParams)
stepParams
- the step parameters and properties for this step.public ParameterList getStepProps()
ParameterList
with parameters and properties
for this step.public boolean equals(java.lang.Object obj)
Equal means it has the same stepId, same jobId, same linked step ids, and same step parameters and properties.
equals
in class java.lang.Object
obj
- object to compare to this JobSetStep.
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toDebugString()
|
Oracle Fusion Applications Java API Reference for Oracle Enterprise Scheduler Service 11g Release 1 (11.1.2) E20742-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |