com.sun.grid.jgdi.configuration
public class JobTaskImpl extends GEObjectImpl implements JobTask
Warning: The JobTaskImpl class will not be compatible with future Sun™ Grid Engine releases.
Constructor and Description |
---|
JobTaskImpl()
Create a new instance of JobTaskImpl.
|
JobTaskImpl(boolean initWithDefaultValues)
Create a new instanceof
|
JobTaskImpl(int taskNumber)
Create a new instance of JobTaskImpl
|
Modifier and Type | Method and Description |
---|---|
void |
addFinishedTask(FPET afinishedTask)
Add a com.sun.grid.jgdi.configuration.FPET attribute.
|
void |
addGrantedDestinIdentifier(JG agrantedDestinIdentifier)
Add a com.sun.grid.jgdi.configuration.JG attribute.
|
void |
addMessage(QueueInstanceMessage amessage)
Add a com.sun.grid.jgdi.configuration.QueueInstanceMessage attribute.
|
void |
addTask(PETask atask)
Add a com.sun.grid.jgdi.configuration.PETask attribute.
|
java.lang.String |
dump() |
boolean |
equals(java.lang.Object obj)
Is the primary key information equal to the primary key information
of
obj . |
boolean |
equalsCompletely(java.lang.Object obj) |
double |
getDefaultPreviousUsage()
Get the default value of the attribute previousUsage.
|
double |
getDefaultReportedUsage()
Get the default value of the attribute reportedUsage.
|
double |
getDefaultScaledUsage()
Get the default value of the attribute scaledUsage.
|
double |
getDefaultUsage()
Get the default value of the attribute usage.
|
int |
getEndTime()
Get the value of the endTime attribute.
|
FPET |
getFinishedTask(int index)
Get a com.sun.grid.jgdi.configuration.FPET attribute at an index.
|
int |
getFinishedTaskCount()
Get the number of com.sun.grid.jgdi.configuration.FPET attributes.
|
java.util.List<FPET> |
getFinishedTaskList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.FPET attributes.
|
int |
getFshare()
Get the value of the fshare attribute.
|
double |
getFticket()
Get the value of the fticket attribute.
|
JG |
getGrantedDestinIdentifier(int index)
Get a com.sun.grid.jgdi.configuration.JG attribute at an index.
|
int |
getGrantedDestinIdentifierCount()
Get the number of com.sun.grid.jgdi.configuration.JG attributes.
|
java.util.List<JG> |
getGrantedDestinIdentifierList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.JG attributes.
|
java.lang.String |
getGrantedPe()
Get the value of the grantedPe attribute.
|
int |
getHold()
Get the value of the hold attribute.
|
int |
getJobRestarted()
Get the value of the jobRestarted attribute.
|
java.lang.String |
getMasterQueue()
Get the value of the masterQueue attribute.
|
QueueInstanceMessage |
getMessage(int index)
Get a com.sun.grid.jgdi.configuration.QueueInstanceMessage attribute at an index.
|
int |
getMessageCount()
Get the number of com.sun.grid.jgdi.configuration.QueueInstanceMessage attributes.
|
java.util.List<QueueInstanceMessage> |
getMessageList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.QueueInstanceMessage attributes.
|
int |
getNextPeTaskId()
Get the value of the nextPeTaskId attribute.
|
double |
getNtix()
Get the value of the ntix attribute.
|
java.lang.String |
getOsjobid()
Get the value of the osjobid attribute.
|
double |
getOticket()
Get the value of the oticket attribute.
|
int |
getPendingSignal()
Get the value of the pendingSignal attribute.
|
int |
getPendingSignalDeliveryTime()
Get the value of the pendingSignalDeliveryTime attribute.
|
ParallelEnvironment |
getPeObject()
Get the value of the peObject attribute.
|
int |
getPid()
Get the value of the pid attribute.
|
double |
getPreviousUsage(java.lang.String key)
Get the previousUsage attribute for a key.
|
int |
getPreviousUsageCount()
Get the number of keys which have the attribute previousUsage set.
|
java.util.Set<java.lang.String> |
getPreviousUsageKeys()
Get the set of keys which have the attribute previousUsage set.
|
double |
getPrio()
Get the value of the prio attribute.
|
int |
getPvmCkptPid()
Get the value of the pvmCkptPid attribute.
|
double |
getReportedUsage(java.lang.String key)
Get the reportedUsage attribute for a key.
|
int |
getReportedUsageCount()
Get the number of keys which have the attribute reportedUsage set.
|
java.util.Set<java.lang.String> |
getReportedUsageKeys()
Get the set of keys which have the attribute reportedUsage set.
|
double |
getScaledUsage(java.lang.String key)
Get the scaledUsage attribute for a key.
|
int |
getScaledUsageCount()
Get the number of keys which have the attribute scaledUsage set.
|
java.util.Set<java.lang.String> |
getScaledUsageKeys()
Get the set of keys which have the attribute scaledUsage set.
|
double |
getShare()
Get the value of the share attribute.
|
int |
getStartTime()
Get the value of the startTime attribute.
|
int |
getState()
Get the value of the state attribute.
|
int |
getStatus()
Get the value of the status attribute.
|
double |
getSticket()
Get the value of the sticket attribute.
|
int |
getStopInitiateTime()
Get the value of the stopInitiateTime attribute.
|
int |
getSuitable()
Get the value of the suitable attribute.
|
PETask |
getTask(int index)
Get a com.sun.grid.jgdi.configuration.PETask attribute at an index.
|
int |
getTaskCount()
Get the number of com.sun.grid.jgdi.configuration.PETask attributes.
|
java.util.List<PETask> |
getTaskList()
Get a unmodifiable list of all com.sun.grid.jgdi.configuration.PETask attributes.
|
int |
getTaskNumber()
Get the value of the taskNumber attribute.
|
double |
getTix()
Get the value of the tix attribute.
|
double |
getUsage(java.lang.String key)
Get the usage attribute for a key.
|
int |
getUsageCount()
Get the number of keys which have the attribute usage set.
|
java.util.Set<java.lang.String> |
getUsageKeys()
Get the set of keys which have the attribute usage set.
|
int |
getWallclockLimit()
Get the value of the wallclockLimit attribute.
|
boolean |
isSetEndTime()
Determine if the endTime attribute is set
|
boolean |
isSetFinishedTask()
Determine if the finishedTask attribute is set
|
boolean |
isSetFshare()
Determine if the fshare attribute is set
|
boolean |
isSetFticket()
Determine if the fticket attribute is set
|
boolean |
isSetGrantedDestinIdentifier()
Determine if the grantedDestinIdentifier attribute is set
|
boolean |
isSetGrantedPe()
Determine if the grantedPe attribute is set
|
boolean |
isSetHold()
Determine if the hold attribute is set
|
boolean |
isSetJobRestarted()
Determine if the jobRestarted attribute is set
|
boolean |
isSetMasterQueue()
Determine if the masterQueue attribute is set
|
boolean |
isSetMessage()
Determine if the message attribute is set
|
boolean |
isSetNextPeTaskId()
Determine if the nextPeTaskId attribute is set
|
boolean |
isSetNtix()
Determine if the ntix attribute is set
|
boolean |
isSetOsjobid()
Determine if the osjobid attribute is set
|
boolean |
isSetOticket()
Determine if the oticket attribute is set
|
boolean |
isSetPendingSignal()
Determine if the pendingSignal attribute is set
|
boolean |
isSetPendingSignalDeliveryTime()
Determine if the pendingSignalDeliveryTime attribute is set
|
boolean |
isSetPeObject()
Determine if the peObject attribute is set
|
boolean |
isSetPid()
Determine if the pid attribute is set
|
boolean |
isSetPreviousUsage()
Determine if any previousUsage attribute is set
|
boolean |
isSetPreviousUsage(java.lang.String key)
Determine if any previousUsage attribute is for a key is set
|
boolean |
isSetPrio()
Determine if the prio attribute is set
|
boolean |
isSetPvmCkptPid()
Determine if the pvmCkptPid attribute is set
|
boolean |
isSetReportedUsage()
Determine if any reportedUsage attribute is set
|
boolean |
isSetReportedUsage(java.lang.String key)
Determine if any reportedUsage attribute is for a key is set
|
boolean |
isSetScaledUsage()
Determine if any scaledUsage attribute is set
|
boolean |
isSetScaledUsage(java.lang.String key)
Determine if any scaledUsage attribute is for a key is set
|
boolean |
isSetShare()
Determine if the share attribute is set
|
boolean |
isSetStartTime()
Determine if the startTime attribute is set
|
boolean |
isSetState()
Determine if the state attribute is set
|
boolean |
isSetStatus()
Determine if the status attribute is set
|
boolean |
isSetSticket()
Determine if the sticket attribute is set
|
boolean |
isSetStopInitiateTime()
Determine if the stopInitiateTime attribute is set
|
boolean |
isSetSuitable()
Determine if the suitable attribute is set
|
boolean |
isSetTask()
Determine if the task attribute is set
|
boolean |
isSetTaskNumber()
Determine if the taskNumber attribute is set
|
boolean |
isSetTix()
Determine if the tix attribute is set
|
boolean |
isSetUsage()
Determine if any usage attribute is set
|
boolean |
isSetUsage(java.lang.String key)
Determine if any usage attribute is for a key is set
|
boolean |
isSetWallclockLimit()
Determine if the wallclockLimit attribute is set
|
void |
putPreviousUsage(java.lang.String key,
double value)
Put the attribute previousUsage for a key.
|
void |
putReportedUsage(java.lang.String key,
double value)
Put the attribute reportedUsage for a key.
|
void |
putScaledUsage(java.lang.String key,
double value)
Put the attribute scaledUsage for a key.
|
void |
putUsage(java.lang.String key,
double value)
Put the attribute usage for a key.
|
void |
removeAllFinishedTask()
Remove all com.sun.grid.jgdi.configuration.FPET attributes.
|
void |
removeAllGrantedDestinIdentifier()
Remove all com.sun.grid.jgdi.configuration.JG attributes.
|
void |
removeAllMessage()
Remove all com.sun.grid.jgdi.configuration.QueueInstanceMessage attributes.
|
void |
removeAllPreviousUsage()
Remove the attribute previousUsage for all keys.
|
void |
removeAllReportedUsage()
Remove the attribute reportedUsage for all keys.
|
void |
removeAllScaledUsage()
Remove the attribute scaledUsage for all keys.
|
void |
removeAllTask()
Remove all com.sun.grid.jgdi.configuration.PETask attributes.
|
void |
removeAllUsage()
Remove the attribute usage for all keys.
|
boolean |
removeFinishedTask(FPET afinishedTask)
Remote a specific com.sun.grid.jgdi.configuration.FPET attribute.
|
FPET |
removeFinishedTask(int index)
Remote a com.sun.grid.jgdi.configuration.FPET attribute at an index.
|
JG |
removeGrantedDestinIdentifier(int index)
Remote a com.sun.grid.jgdi.configuration.JG attribute at an index.
|
boolean |
removeGrantedDestinIdentifier(JG agrantedDestinIdentifier)
Remote a specific com.sun.grid.jgdi.configuration.JG attribute.
|
QueueInstanceMessage |
removeMessage(int index)
Remote a com.sun.grid.jgdi.configuration.QueueInstanceMessage attribute at an index.
|
boolean |
removeMessage(QueueInstanceMessage amessage)
Remote a specific com.sun.grid.jgdi.configuration.QueueInstanceMessage attribute.
|
java.lang.Double |
removePreviousUsage(java.lang.String key)
remove the attribute previousUsage for a key.
|
java.lang.Double |
removeReportedUsage(java.lang.String key)
remove the attribute reportedUsage for a key.
|
java.lang.Double |
removeScaledUsage(java.lang.String key)
remove the attribute scaledUsage for a key.
|
PETask |
removeTask(int index)
Remote a com.sun.grid.jgdi.configuration.PETask attribute at an index.
|
boolean |
removeTask(PETask atask)
Remote a specific com.sun.grid.jgdi.configuration.PETask attribute.
|
java.lang.Double |
removeUsage(java.lang.String key)
remove the attribute usage for a key.
|
void |
setEndTime(int aEndTime)
Set the endTime attribute.
|
void |
setFinishedTask(int index,
FPET afinishedTask)
Set a com.sun.grid.jgdi.configuration.FPET attribute.
|
void |
setFshare(int aFshare)
Set the fshare attribute.
|
void |
setFticket(double aFticket)
Set the fticket attribute.
|
void |
setGrantedDestinIdentifier(int index,
JG agrantedDestinIdentifier)
Set a com.sun.grid.jgdi.configuration.JG attribute.
|
void |
setGrantedPe(java.lang.String aGrantedPe)
Set the grantedPe attribute.
|
void |
setHold(int aHold)
Set the hold attribute.
|
void |
setJobRestarted(int aJobRestarted)
Set the jobRestarted attribute.
|
void |
setMasterQueue(java.lang.String aMasterQueue)
Set the masterQueue attribute.
|
void |
setMessage(int index,
QueueInstanceMessage amessage)
Set a com.sun.grid.jgdi.configuration.QueueInstanceMessage attribute.
|
void |
setNextPeTaskId(int aNextPeTaskId)
Set the nextPeTaskId attribute.
|
void |
setNtix(double aNtix)
Set the ntix attribute.
|
void |
setOsjobid(java.lang.String aOsjobid)
Set the osjobid attribute.
|
void |
setOticket(double aOticket)
Set the oticket attribute.
|
void |
setPendingSignal(int aPendingSignal)
Set the pendingSignal attribute.
|
void |
setPendingSignalDeliveryTime(int aPendingSignalDeliveryTime)
Set the pendingSignalDeliveryTime attribute.
|
void |
setPeObject(ParallelEnvironment aPeObject)
Set the peObject attribute.
|
void |
setPid(int aPid)
Set the pid attribute.
|
void |
setPrio(double aPrio)
Set the prio attribute.
|
void |
setPvmCkptPid(int aPvmCkptPid)
Set the pvmCkptPid attribute.
|
void |
setShare(double aShare)
Set the share attribute.
|
void |
setStartTime(int aStartTime)
Set the startTime attribute.
|
void |
setState(int aState)
Set the state attribute.
|
void |
setStatus(int aStatus)
Set the status attribute.
|
void |
setSticket(double aSticket)
Set the sticket attribute.
|
void |
setStopInitiateTime(int aStopInitiateTime)
Set the stopInitiateTime attribute.
|
void |
setSuitable(int aSuitable)
Set the suitable attribute.
|
void |
setTask(int index,
PETask atask)
Set a com.sun.grid.jgdi.configuration.PETask attribute.
|
void |
setTaskNumber(int aTaskNumber)
Set the taskNumber attribute.
|
void |
setTix(double aTix)
Set the tix attribute.
|
void |
setWallclockLimit(int aWallclockLimit)
Set the wallclockLimit attribute.
|
java.lang.String |
toString() |
getName, getParent, getPathName, getRoot, setName, setParent
public JobTaskImpl()
public JobTaskImpl(boolean initWithDefaultValues)
initWithDefaultValues
- if true
the new instance will
be initialized with the default values as defined
in the cull definition.public JobTaskImpl(int taskNumber)
public boolean isSetTaskNumber()
isSetTaskNumber
in interface JobTask
true
if the taskNumber attribute is setpublic void setTaskNumber(int aTaskNumber)
setTaskNumber
in interface JobTask
aTaskNumber
- the new value for the taskNumber attributepublic int getTaskNumber()
getTaskNumber
in interface JobTask
public boolean isSetStatus()
isSetStatus
in interface JobTask
true
if the status attribute is setpublic void setStatus(int aStatus)
public int getStatus()
public boolean isSetStartTime()
isSetStartTime
in interface JobTask
true
if the startTime attribute is setpublic void setStartTime(int aStartTime)
setStartTime
in interface JobTask
aStartTime
- the new value for the startTime attributepublic int getStartTime()
getStartTime
in interface JobTask
public boolean isSetEndTime()
isSetEndTime
in interface JobTask
true
if the endTime attribute is setpublic void setEndTime(int aEndTime)
setEndTime
in interface JobTask
aEndTime
- the new value for the endTime attributepublic int getEndTime()
getEndTime
in interface JobTask
public boolean isSetHold()
public void setHold(int aHold)
public int getHold()
public boolean isSetGrantedPe()
isSetGrantedPe
in interface JobTask
true
if the grantedPe attribute is setpublic void setGrantedPe(java.lang.String aGrantedPe)
setGrantedPe
in interface JobTask
aGrantedPe
- the new value for the grantedPe attributepublic java.lang.String getGrantedPe()
getGrantedPe
in interface JobTask
public boolean isSetJobRestarted()
isSetJobRestarted
in interface JobTask
true
if the jobRestarted attribute is setpublic void setJobRestarted(int aJobRestarted)
setJobRestarted
in interface JobTask
aJobRestarted
- the new value for the jobRestarted attributepublic int getJobRestarted()
getJobRestarted
in interface JobTask
public void addGrantedDestinIdentifier(JG agrantedDestinIdentifier)
addGrantedDestinIdentifier
in interface JobTask
agrantedDestinIdentifier
- the new com.sun.grid.jgdi.configuration.JG attributepublic void setGrantedDestinIdentifier(int index, JG agrantedDestinIdentifier)
setGrantedDestinIdentifier
in interface JobTask
index
- index of the com.sun.grid.jgdi.configuration.JG attributeagrantedDestinIdentifier
- the new com.sun.grid.jgdi.configuration.JG attributepublic void removeAllGrantedDestinIdentifier()
removeAllGrantedDestinIdentifier
in interface JobTask
public JG removeGrantedDestinIdentifier(int index)
removeGrantedDestinIdentifier
in interface JobTask
index
- the index of the com.sun.grid.jgdi.configuration.JG attribute which should be
removednull
if
no attribute at this index is storedpublic boolean removeGrantedDestinIdentifier(JG agrantedDestinIdentifier)
removeGrantedDestinIdentifier
in interface JobTask
agrantedDestinIdentifier
- the com.sun.grid.jgdi.configuration.JG attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.JG attribute has been removedpublic java.util.List<JG> getGrantedDestinIdentifierList()
getGrantedDestinIdentifierList
in interface JobTask
public int getGrantedDestinIdentifierCount()
getGrantedDestinIdentifierCount
in interface JobTask
public JG getGrantedDestinIdentifier(int index)
getGrantedDestinIdentifier
in interface JobTask
index
- the index of the com.sun.grid.jgdi.configuration.JG attribute which should be
removedpublic boolean isSetGrantedDestinIdentifier()
isSetGrantedDestinIdentifier
in interface JobTask
true
if the grantedDestinIdentifier attribute is setpublic boolean isSetMasterQueue()
isSetMasterQueue
in interface JobTask
true
if the masterQueue attribute is setpublic void setMasterQueue(java.lang.String aMasterQueue)
setMasterQueue
in interface JobTask
aMasterQueue
- the new value for the masterQueue attributepublic java.lang.String getMasterQueue()
getMasterQueue
in interface JobTask
public boolean isSetState()
isSetState
in interface JobTask
true
if the state attribute is setpublic void setState(int aState)
public int getState()
public boolean isSetPvmCkptPid()
isSetPvmCkptPid
in interface JobTask
true
if the pvmCkptPid attribute is setpublic void setPvmCkptPid(int aPvmCkptPid)
setPvmCkptPid
in interface JobTask
aPvmCkptPid
- the new value for the pvmCkptPid attributepublic int getPvmCkptPid()
getPvmCkptPid
in interface JobTask
public boolean isSetPendingSignal()
isSetPendingSignal
in interface JobTask
true
if the pendingSignal attribute is setpublic void setPendingSignal(int aPendingSignal)
setPendingSignal
in interface JobTask
aPendingSignal
- the new value for the pendingSignal attributepublic int getPendingSignal()
getPendingSignal
in interface JobTask
public boolean isSetPendingSignalDeliveryTime()
isSetPendingSignalDeliveryTime
in interface JobTask
true
if the pendingSignalDeliveryTime attribute is setpublic void setPendingSignalDeliveryTime(int aPendingSignalDeliveryTime)
setPendingSignalDeliveryTime
in interface JobTask
aPendingSignalDeliveryTime
- the new value for the pendingSignalDeliveryTime attributepublic int getPendingSignalDeliveryTime()
getPendingSignalDeliveryTime
in interface JobTask
public boolean isSetPid()
public void setPid(int aPid)
public int getPid()
public boolean isSetOsjobid()
isSetOsjobid
in interface JobTask
true
if the osjobid attribute is setpublic void setOsjobid(java.lang.String aOsjobid)
setOsjobid
in interface JobTask
aOsjobid
- the new value for the osjobid attributepublic java.lang.String getOsjobid()
getOsjobid
in interface JobTask
public void putUsage(java.lang.String key, double value)
Put the attribute usage for a key.
public double getDefaultUsage()
Get the default value of the attribute usage.
getDefaultUsage
in interface JobTask
java.lang.IllegalStateException
- if the default value is not setpublic double getUsage(java.lang.String key)
Get the usage attribute for a key.
public java.lang.Double removeUsage(java.lang.String key)
remove the attribute usage for a key.
removeUsage
in interface JobTask
key
- tje keynull
if the value attribute was not defined for the key.public void removeAllUsage()
Remove the attribute usage for all keys.
removeAllUsage
in interface JobTask
public java.util.Set<java.lang.String> getUsageKeys()
getUsageKeys
in interface JobTask
public int getUsageCount()
getUsageCount
in interface JobTask
public boolean isSetUsage()
isSetUsage
in interface JobTask
true
if the usage attribute is setpublic boolean isSetUsage(java.lang.String key)
isSetUsage
in interface JobTask
key
- the keytrue
if the usage attribute is setpublic void putScaledUsage(java.lang.String key, double value)
Put the attribute scaledUsage for a key.
putScaledUsage
in interface JobTask
key
- the keyvalue
- the valuepublic double getDefaultScaledUsage()
Get the default value of the attribute scaledUsage.
getDefaultScaledUsage
in interface JobTask
java.lang.IllegalStateException
- if the default value is not setpublic double getScaledUsage(java.lang.String key)
Get the scaledUsage attribute for a key.
getScaledUsage
in interface JobTask
key
- the keypublic java.lang.Double removeScaledUsage(java.lang.String key)
remove the attribute scaledUsage for a key.
removeScaledUsage
in interface JobTask
key
- tje keynull
if the value attribute was not defined for the key.public void removeAllScaledUsage()
Remove the attribute scaledUsage for all keys.
removeAllScaledUsage
in interface JobTask
public java.util.Set<java.lang.String> getScaledUsageKeys()
getScaledUsageKeys
in interface JobTask
public int getScaledUsageCount()
getScaledUsageCount
in interface JobTask
public boolean isSetScaledUsage()
isSetScaledUsage
in interface JobTask
true
if the scaledUsage attribute is setpublic boolean isSetScaledUsage(java.lang.String key)
isSetScaledUsage
in interface JobTask
key
- the keytrue
if the scaledUsage attribute is setpublic void putReportedUsage(java.lang.String key, double value)
Put the attribute reportedUsage for a key.
putReportedUsage
in interface JobTask
key
- the keyvalue
- the valuepublic double getDefaultReportedUsage()
Get the default value of the attribute reportedUsage.
getDefaultReportedUsage
in interface JobTask
java.lang.IllegalStateException
- if the default value is not setpublic double getReportedUsage(java.lang.String key)
Get the reportedUsage attribute for a key.
getReportedUsage
in interface JobTask
key
- the keypublic java.lang.Double removeReportedUsage(java.lang.String key)
remove the attribute reportedUsage for a key.
removeReportedUsage
in interface JobTask
key
- tje keynull
if the value attribute was not defined for the key.public void removeAllReportedUsage()
Remove the attribute reportedUsage for all keys.
removeAllReportedUsage
in interface JobTask
public java.util.Set<java.lang.String> getReportedUsageKeys()
getReportedUsageKeys
in interface JobTask
public int getReportedUsageCount()
getReportedUsageCount
in interface JobTask
public boolean isSetReportedUsage()
isSetReportedUsage
in interface JobTask
true
if the reportedUsage attribute is setpublic boolean isSetReportedUsage(java.lang.String key)
isSetReportedUsage
in interface JobTask
key
- the keytrue
if the reportedUsage attribute is setpublic boolean isSetFshare()
isSetFshare
in interface JobTask
true
if the fshare attribute is setpublic void setFshare(int aFshare)
public int getFshare()
public boolean isSetTix()
public void setTix(double aTix)
public double getTix()
public boolean isSetOticket()
isSetOticket
in interface JobTask
true
if the oticket attribute is setpublic void setOticket(double aOticket)
setOticket
in interface JobTask
aOticket
- the new value for the oticket attributepublic double getOticket()
getOticket
in interface JobTask
public boolean isSetFticket()
isSetFticket
in interface JobTask
true
if the fticket attribute is setpublic void setFticket(double aFticket)
setFticket
in interface JobTask
aFticket
- the new value for the fticket attributepublic double getFticket()
getFticket
in interface JobTask
public boolean isSetSticket()
isSetSticket
in interface JobTask
true
if the sticket attribute is setpublic void setSticket(double aSticket)
setSticket
in interface JobTask
aSticket
- the new value for the sticket attributepublic double getSticket()
getSticket
in interface JobTask
public boolean isSetShare()
isSetShare
in interface JobTask
true
if the share attribute is setpublic void setShare(double aShare)
public double getShare()
public boolean isSetSuitable()
isSetSuitable
in interface JobTask
true
if the suitable attribute is setpublic void setSuitable(int aSuitable)
setSuitable
in interface JobTask
aSuitable
- the new value for the suitable attributepublic int getSuitable()
getSuitable
in interface JobTask
public void addTask(PETask atask)
public void setTask(int index, PETask atask)
public void removeAllTask()
removeAllTask
in interface JobTask
public PETask removeTask(int index)
removeTask
in interface JobTask
index
- the index of the com.sun.grid.jgdi.configuration.PETask attribute which should be
removednull
if
no attribute at this index is storedpublic boolean removeTask(PETask atask)
removeTask
in interface JobTask
atask
- the com.sun.grid.jgdi.configuration.PETask attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.PETask attribute has been removedpublic java.util.List<PETask> getTaskList()
getTaskList
in interface JobTask
public int getTaskCount()
getTaskCount
in interface JobTask
public PETask getTask(int index)
public boolean isSetTask()
public void addFinishedTask(FPET afinishedTask)
addFinishedTask
in interface JobTask
afinishedTask
- the new com.sun.grid.jgdi.configuration.FPET attributepublic void setFinishedTask(int index, FPET afinishedTask)
setFinishedTask
in interface JobTask
index
- index of the com.sun.grid.jgdi.configuration.FPET attributeafinishedTask
- the new com.sun.grid.jgdi.configuration.FPET attributepublic void removeAllFinishedTask()
removeAllFinishedTask
in interface JobTask
public FPET removeFinishedTask(int index)
removeFinishedTask
in interface JobTask
index
- the index of the com.sun.grid.jgdi.configuration.FPET attribute which should be
removednull
if
no attribute at this index is storedpublic boolean removeFinishedTask(FPET afinishedTask)
removeFinishedTask
in interface JobTask
afinishedTask
- the com.sun.grid.jgdi.configuration.FPET attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.FPET attribute has been removedpublic java.util.List<FPET> getFinishedTaskList()
getFinishedTaskList
in interface JobTask
public int getFinishedTaskCount()
getFinishedTaskCount
in interface JobTask
public FPET getFinishedTask(int index)
getFinishedTask
in interface JobTask
index
- the index of the com.sun.grid.jgdi.configuration.FPET attribute which should be
removedpublic boolean isSetFinishedTask()
isSetFinishedTask
in interface JobTask
true
if the finishedTask attribute is setpublic void putPreviousUsage(java.lang.String key, double value)
Put the attribute previousUsage for a key.
putPreviousUsage
in interface JobTask
key
- the keyvalue
- the valuepublic double getDefaultPreviousUsage()
Get the default value of the attribute previousUsage.
getDefaultPreviousUsage
in interface JobTask
java.lang.IllegalStateException
- if the default value is not setpublic double getPreviousUsage(java.lang.String key)
Get the previousUsage attribute for a key.
getPreviousUsage
in interface JobTask
key
- the keypublic java.lang.Double removePreviousUsage(java.lang.String key)
remove the attribute previousUsage for a key.
removePreviousUsage
in interface JobTask
key
- tje keynull
if the value attribute was not defined for the key.public void removeAllPreviousUsage()
Remove the attribute previousUsage for all keys.
removeAllPreviousUsage
in interface JobTask
public java.util.Set<java.lang.String> getPreviousUsageKeys()
getPreviousUsageKeys
in interface JobTask
public int getPreviousUsageCount()
getPreviousUsageCount
in interface JobTask
public boolean isSetPreviousUsage()
isSetPreviousUsage
in interface JobTask
true
if the previousUsage attribute is setpublic boolean isSetPreviousUsage(java.lang.String key)
isSetPreviousUsage
in interface JobTask
key
- the keytrue
if the previousUsage attribute is setpublic boolean isSetPeObject()
isSetPeObject
in interface JobTask
true
if the peObject attribute is setpublic void setPeObject(ParallelEnvironment aPeObject)
setPeObject
in interface JobTask
aPeObject
- the new value for the peObject attributepublic ParallelEnvironment getPeObject()
getPeObject
in interface JobTask
public boolean isSetNextPeTaskId()
isSetNextPeTaskId
in interface JobTask
true
if the nextPeTaskId attribute is setpublic void setNextPeTaskId(int aNextPeTaskId)
setNextPeTaskId
in interface JobTask
aNextPeTaskId
- the new value for the nextPeTaskId attributepublic int getNextPeTaskId()
getNextPeTaskId
in interface JobTask
public boolean isSetStopInitiateTime()
isSetStopInitiateTime
in interface JobTask
true
if the stopInitiateTime attribute is setpublic void setStopInitiateTime(int aStopInitiateTime)
setStopInitiateTime
in interface JobTask
aStopInitiateTime
- the new value for the stopInitiateTime attributepublic int getStopInitiateTime()
getStopInitiateTime
in interface JobTask
public boolean isSetPrio()
public void setPrio(double aPrio)
public double getPrio()
public boolean isSetNtix()
public void setNtix(double aNtix)
public double getNtix()
public boolean isSetWallclockLimit()
isSetWallclockLimit
in interface JobTask
true
if the wallclockLimit attribute is setpublic void setWallclockLimit(int aWallclockLimit)
setWallclockLimit
in interface JobTask
aWallclockLimit
- the new value for the wallclockLimit attributepublic int getWallclockLimit()
getWallclockLimit
in interface JobTask
public void addMessage(QueueInstanceMessage amessage)
addMessage
in interface JobTask
amessage
- the new com.sun.grid.jgdi.configuration.QueueInstanceMessage attributepublic void setMessage(int index, QueueInstanceMessage amessage)
setMessage
in interface JobTask
index
- index of the com.sun.grid.jgdi.configuration.QueueInstanceMessage attributeamessage
- the new com.sun.grid.jgdi.configuration.QueueInstanceMessage attributepublic void removeAllMessage()
removeAllMessage
in interface JobTask
public QueueInstanceMessage removeMessage(int index)
removeMessage
in interface JobTask
index
- the index of the com.sun.grid.jgdi.configuration.QueueInstanceMessage attribute which should be
removednull
if
no attribute at this index is storedpublic boolean removeMessage(QueueInstanceMessage amessage)
removeMessage
in interface JobTask
amessage
- the com.sun.grid.jgdi.configuration.QueueInstanceMessage attribute which should be
removedtrue
if the com.sun.grid.jgdi.configuration.QueueInstanceMessage attribute has been removedpublic java.util.List<QueueInstanceMessage> getMessageList()
getMessageList
in interface JobTask
public int getMessageCount()
getMessageCount
in interface JobTask
public QueueInstanceMessage getMessage(int index)
getMessage
in interface JobTask
index
- the index of the com.sun.grid.jgdi.configuration.QueueInstanceMessage attribute which should be
removedpublic boolean isSetMessage()
isSetMessage
in interface JobTask
true
if the message attribute is setpublic boolean equals(java.lang.Object obj)
obj
.equals
in class java.lang.Object
obj
- the compared objecttrue
if the primary key information is equal to the
primary key informations of obj
.public boolean equalsCompletely(java.lang.Object obj)
equalsCompletely
in interface GEObject
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2007 Sun Microsystems, Inc. All rights reserved.