|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.grid.jsv.TaskSpecifier
public final class TaskSpecifier
The TaskSpecifier class represents an array task specification for a job. It defines the minimum and maximum values in the task identifier range as well as the incremental step value. By default, the minimum, maximum, and step values are set to 1.
JobDescription.getTaskSpecifier()
,
JobDescription.setTaskSpecifier(com.sun.grid.jsv.TaskSpecifier)
,
Serialized FormConstructor Summary | |
---|---|
TaskSpecifier()
|
Method Summary | |
---|---|
TaskSpecifier |
clone()
|
boolean |
equals(java.lang.Object obj)
|
int |
getMax()
Get the maximum value of the array task id range. |
int |
getMin()
Get the minimum value of the array task id range. |
int |
getStep()
Get the incremental step value for the array task id range. |
int |
hashCode()
|
void |
setMax(int max)
Set the maximum value of the array task id range. |
void |
setMin(int min)
Set the minimum value of the array task id range. |
void |
setRange(int min,
int max)
Set the minimum and maximum values of the array task id range. |
void |
setRange(int min,
int max,
int step)
Set the minimum and maximum values of the array task id range as well as the incremental step value. |
void |
setStep(int step)
Set the incremental step value of the array task id range. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TaskSpecifier()
Method Detail |
---|
public int getMin()
public int getMax()
public int getStep()
public void setMin(int min)
min
- the minimum range valuepublic void setMax(int max)
max
- the maximum range valuepublic void setStep(int step)
step
- the incremental step valuepublic void setRange(int min, int max)
min
- the minimum range valuemax
- the maximum range valuepublic void setRange(int min, int max, int step)
min
- the minimum range valuemax
- the maximum range valuestep
- the step valuepublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public TaskSpecifier clone()
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |