|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.plan.utils.RerunDetails
This class is used as a parameter in the rerunJobInstance API, in order to pass in a single object all the needed parameters. Note that if during the rerun operation the parameter jobDefinitionDbIdentifier is specified then a 'rerun from' operation is performed, and then the operation will fail if not performed on the MDM.
The following syntax validation constraints must be met on RerunDetails objects:
jobDefinitionDbIdentifier | If specified, the Identifier of an |
existing database DistJobDefinition | |
priority | Valid values 0-101. Default value 10. |
startTime | Default value is null. |
asap | Default value is false |
stepName | Default value is null. |
Specify it if you would like to perform a 'rerun step'. |
com.ibm.tws.conn.plan.Plan
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
RerunDetails()
Empty constructor. |
|
RerunDetails(java.util.Date startTime,
int priority,
Identifier fromJobId,
boolean asap)
Constructor used to make a 'rerun from' with some other constrain. |
|
RerunDetails(Identifier fromJobId)
Constructor used to make a simple 'rerun from'. |
|
RerunDetails(Identifier fromJobId,
java.lang.String stepName)
Constructor used to make a 'rerun from' with 'rerun step'. |
|
RerunDetails(java.lang.String stepName)
Constructor used to make a 'rerun step'. |
Method Summary | |
---|---|
Identifier |
getJobDefinitionDbIdentifier()
Returns the Database Job Definition Identifier. |
int |
getPriority()
Returns the Priority |
java.util.Date |
getStartTime()
Returns the start time |
java.lang.String |
getStepName()
Returns the step name |
boolean |
isAsap()
Returns true if the job should be re-run immediately, false otherwise. |
void |
setAsap(boolean b)
Sets if the job should be re-run immediately |
void |
setJobDefinitionDbIdentifier(Identifier identifier)
Sets the Database Job Definition Identifier. |
void |
setPriority(int i)
Sets the Priority |
void |
setStartTime(java.util.Date l)
Sets the job start time. |
void |
setStepName(java.lang.String string)
Sets the step name. |
java.lang.String |
toString()
Returns a String representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public RerunDetails()
public RerunDetails(java.lang.String stepName)
stepName
- The Job step name.public RerunDetails(Identifier fromJobId)
fromJobId
- the Database Job Definition Identifier.public RerunDetails(Identifier fromJobId, java.lang.String stepName)
fromJobId
- the Database Job Definition Identifier.stepName
- The Job step name.public RerunDetails(java.util.Date startTime, int priority, Identifier fromJobId, boolean asap)
startTime
- The Job start time.priority
- The Job priorityfromJobId
- The Database Job Definition Identifierasap
- a boolean representing if the Job should be re-run immediately or not.Method Detail |
public java.util.Date getStartTime()
public Identifier getJobDefinitionDbIdentifier()
public int getPriority()
public java.lang.String getStepName()
public void setJobDefinitionDbIdentifier(Identifier identifier)
identifier
- the Database Job Definition Identifier to set.public void setPriority(int i)
i
- the priority to set.public void setStepName(java.lang.String string)
string
- the step name to set..public java.lang.String toString()
Object.toString()
public boolean isAsap()
public void setAsap(boolean b)
b
- true if the job should be re-run immediately, false otherwise.public void setStartTime(java.util.Date l)
l
- the job start time to set.
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |