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, setParentpublic 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 JobTasktrue if the taskNumber attribute is setpublic void setTaskNumber(int aTaskNumber)
setTaskNumber in interface JobTaskaTaskNumber - the new value for the taskNumber attributepublic int getTaskNumber()
getTaskNumber in interface JobTaskpublic boolean isSetStatus()
isSetStatus in interface JobTasktrue if the status attribute is setpublic void setStatus(int aStatus)
public int getStatus()
public boolean isSetStartTime()
isSetStartTime in interface JobTasktrue if the startTime attribute is setpublic void setStartTime(int aStartTime)
setStartTime in interface JobTaskaStartTime - the new value for the startTime attributepublic int getStartTime()
getStartTime in interface JobTaskpublic boolean isSetEndTime()
isSetEndTime in interface JobTasktrue if the endTime attribute is setpublic void setEndTime(int aEndTime)
setEndTime in interface JobTaskaEndTime - the new value for the endTime attributepublic int getEndTime()
getEndTime in interface JobTaskpublic boolean isSetHold()
public void setHold(int aHold)
public int getHold()
public boolean isSetGrantedPe()
isSetGrantedPe in interface JobTasktrue if the grantedPe attribute is setpublic void setGrantedPe(java.lang.String aGrantedPe)
setGrantedPe in interface JobTaskaGrantedPe - the new value for the grantedPe attributepublic java.lang.String getGrantedPe()
getGrantedPe in interface JobTaskpublic boolean isSetJobRestarted()
isSetJobRestarted in interface JobTasktrue if the jobRestarted attribute is setpublic void setJobRestarted(int aJobRestarted)
setJobRestarted in interface JobTaskaJobRestarted - the new value for the jobRestarted attributepublic int getJobRestarted()
getJobRestarted in interface JobTaskpublic void addGrantedDestinIdentifier(JG agrantedDestinIdentifier)
addGrantedDestinIdentifier in interface JobTaskagrantedDestinIdentifier - the new com.sun.grid.jgdi.configuration.JG attributepublic void setGrantedDestinIdentifier(int index,
JG agrantedDestinIdentifier)
setGrantedDestinIdentifier in interface JobTaskindex - index of the com.sun.grid.jgdi.configuration.JG attributeagrantedDestinIdentifier - the new com.sun.grid.jgdi.configuration.JG attributepublic void removeAllGrantedDestinIdentifier()
removeAllGrantedDestinIdentifier in interface JobTaskpublic JG removeGrantedDestinIdentifier(int index)
removeGrantedDestinIdentifier in interface JobTaskindex - 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 JobTaskagrantedDestinIdentifier - 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 JobTaskpublic int getGrantedDestinIdentifierCount()
getGrantedDestinIdentifierCount in interface JobTaskpublic JG getGrantedDestinIdentifier(int index)
getGrantedDestinIdentifier in interface JobTaskindex - the index of the com.sun.grid.jgdi.configuration.JG attribute which should be
removedpublic boolean isSetGrantedDestinIdentifier()
isSetGrantedDestinIdentifier in interface JobTasktrue if the grantedDestinIdentifier attribute is setpublic boolean isSetMasterQueue()
isSetMasterQueue in interface JobTasktrue if the masterQueue attribute is setpublic void setMasterQueue(java.lang.String aMasterQueue)
setMasterQueue in interface JobTaskaMasterQueue - the new value for the masterQueue attributepublic java.lang.String getMasterQueue()
getMasterQueue in interface JobTaskpublic boolean isSetState()
isSetState in interface JobTasktrue if the state attribute is setpublic void setState(int aState)
public int getState()
public boolean isSetPvmCkptPid()
isSetPvmCkptPid in interface JobTasktrue if the pvmCkptPid attribute is setpublic void setPvmCkptPid(int aPvmCkptPid)
setPvmCkptPid in interface JobTaskaPvmCkptPid - the new value for the pvmCkptPid attributepublic int getPvmCkptPid()
getPvmCkptPid in interface JobTaskpublic boolean isSetPendingSignal()
isSetPendingSignal in interface JobTasktrue if the pendingSignal attribute is setpublic void setPendingSignal(int aPendingSignal)
setPendingSignal in interface JobTaskaPendingSignal - the new value for the pendingSignal attributepublic int getPendingSignal()
getPendingSignal in interface JobTaskpublic boolean isSetPendingSignalDeliveryTime()
isSetPendingSignalDeliveryTime in interface JobTasktrue if the pendingSignalDeliveryTime attribute is setpublic void setPendingSignalDeliveryTime(int aPendingSignalDeliveryTime)
setPendingSignalDeliveryTime in interface JobTaskaPendingSignalDeliveryTime - the new value for the pendingSignalDeliveryTime attributepublic int getPendingSignalDeliveryTime()
getPendingSignalDeliveryTime in interface JobTaskpublic boolean isSetPid()
public void setPid(int aPid)
public int getPid()
public boolean isSetOsjobid()
isSetOsjobid in interface JobTasktrue if the osjobid attribute is setpublic void setOsjobid(java.lang.String aOsjobid)
setOsjobid in interface JobTaskaOsjobid - the new value for the osjobid attributepublic java.lang.String getOsjobid()
getOsjobid in interface JobTaskpublic 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 JobTaskjava.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 JobTaskkey - 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 JobTaskpublic java.util.Set<java.lang.String> getUsageKeys()
getUsageKeys in interface JobTaskpublic int getUsageCount()
getUsageCount in interface JobTaskpublic boolean isSetUsage()
isSetUsage in interface JobTasktrue if the usage attribute is setpublic boolean isSetUsage(java.lang.String key)
isSetUsage in interface JobTaskkey - 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 JobTaskkey - the keyvalue - the valuepublic double getDefaultScaledUsage()
Get the default value of the attribute scaledUsage.
getDefaultScaledUsage in interface JobTaskjava.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 JobTaskkey - the keypublic java.lang.Double removeScaledUsage(java.lang.String key)
remove the attribute scaledUsage for a key.
removeScaledUsage in interface JobTaskkey - 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 JobTaskpublic java.util.Set<java.lang.String> getScaledUsageKeys()
getScaledUsageKeys in interface JobTaskpublic int getScaledUsageCount()
getScaledUsageCount in interface JobTaskpublic boolean isSetScaledUsage()
isSetScaledUsage in interface JobTasktrue if the scaledUsage attribute is setpublic boolean isSetScaledUsage(java.lang.String key)
isSetScaledUsage in interface JobTaskkey - 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 JobTaskkey - the keyvalue - the valuepublic double getDefaultReportedUsage()
Get the default value of the attribute reportedUsage.
getDefaultReportedUsage in interface JobTaskjava.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 JobTaskkey - the keypublic java.lang.Double removeReportedUsage(java.lang.String key)
remove the attribute reportedUsage for a key.
removeReportedUsage in interface JobTaskkey - 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 JobTaskpublic java.util.Set<java.lang.String> getReportedUsageKeys()
getReportedUsageKeys in interface JobTaskpublic int getReportedUsageCount()
getReportedUsageCount in interface JobTaskpublic boolean isSetReportedUsage()
isSetReportedUsage in interface JobTasktrue if the reportedUsage attribute is setpublic boolean isSetReportedUsage(java.lang.String key)
isSetReportedUsage in interface JobTaskkey - the keytrue if the reportedUsage attribute is setpublic boolean isSetFshare()
isSetFshare in interface JobTasktrue 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 JobTasktrue if the oticket attribute is setpublic void setOticket(double aOticket)
setOticket in interface JobTaskaOticket - the new value for the oticket attributepublic double getOticket()
getOticket in interface JobTaskpublic boolean isSetFticket()
isSetFticket in interface JobTasktrue if the fticket attribute is setpublic void setFticket(double aFticket)
setFticket in interface JobTaskaFticket - the new value for the fticket attributepublic double getFticket()
getFticket in interface JobTaskpublic boolean isSetSticket()
isSetSticket in interface JobTasktrue if the sticket attribute is setpublic void setSticket(double aSticket)
setSticket in interface JobTaskaSticket - the new value for the sticket attributepublic double getSticket()
getSticket in interface JobTaskpublic boolean isSetShare()
isSetShare in interface JobTasktrue if the share attribute is setpublic void setShare(double aShare)
public double getShare()
public boolean isSetSuitable()
isSetSuitable in interface JobTasktrue if the suitable attribute is setpublic void setSuitable(int aSuitable)
setSuitable in interface JobTaskaSuitable - the new value for the suitable attributepublic int getSuitable()
getSuitable in interface JobTaskpublic void addTask(PETask atask)
public void setTask(int index,
PETask atask)
public void removeAllTask()
removeAllTask in interface JobTaskpublic PETask removeTask(int index)
removeTask in interface JobTaskindex - 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 JobTaskatask - 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 JobTaskpublic int getTaskCount()
getTaskCount in interface JobTaskpublic PETask getTask(int index)
public boolean isSetTask()
public void addFinishedTask(FPET afinishedTask)
addFinishedTask in interface JobTaskafinishedTask - the new com.sun.grid.jgdi.configuration.FPET attributepublic void setFinishedTask(int index,
FPET afinishedTask)
setFinishedTask in interface JobTaskindex - index of the com.sun.grid.jgdi.configuration.FPET attributeafinishedTask - the new com.sun.grid.jgdi.configuration.FPET attributepublic void removeAllFinishedTask()
removeAllFinishedTask in interface JobTaskpublic FPET removeFinishedTask(int index)
removeFinishedTask in interface JobTaskindex - 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 JobTaskafinishedTask - 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 JobTaskpublic int getFinishedTaskCount()
getFinishedTaskCount in interface JobTaskpublic FPET getFinishedTask(int index)
getFinishedTask in interface JobTaskindex - the index of the com.sun.grid.jgdi.configuration.FPET attribute which should be
removedpublic boolean isSetFinishedTask()
isSetFinishedTask in interface JobTasktrue if the finishedTask attribute is setpublic void putPreviousUsage(java.lang.String key,
double value)
Put the attribute previousUsage for a key.
putPreviousUsage in interface JobTaskkey - the keyvalue - the valuepublic double getDefaultPreviousUsage()
Get the default value of the attribute previousUsage.
getDefaultPreviousUsage in interface JobTaskjava.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 JobTaskkey - the keypublic java.lang.Double removePreviousUsage(java.lang.String key)
remove the attribute previousUsage for a key.
removePreviousUsage in interface JobTaskkey - 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 JobTaskpublic java.util.Set<java.lang.String> getPreviousUsageKeys()
getPreviousUsageKeys in interface JobTaskpublic int getPreviousUsageCount()
getPreviousUsageCount in interface JobTaskpublic boolean isSetPreviousUsage()
isSetPreviousUsage in interface JobTasktrue if the previousUsage attribute is setpublic boolean isSetPreviousUsage(java.lang.String key)
isSetPreviousUsage in interface JobTaskkey - the keytrue if the previousUsage attribute is setpublic boolean isSetPeObject()
isSetPeObject in interface JobTasktrue if the peObject attribute is setpublic void setPeObject(ParallelEnvironment aPeObject)
setPeObject in interface JobTaskaPeObject - the new value for the peObject attributepublic ParallelEnvironment getPeObject()
getPeObject in interface JobTaskpublic boolean isSetNextPeTaskId()
isSetNextPeTaskId in interface JobTasktrue if the nextPeTaskId attribute is setpublic void setNextPeTaskId(int aNextPeTaskId)
setNextPeTaskId in interface JobTaskaNextPeTaskId - the new value for the nextPeTaskId attributepublic int getNextPeTaskId()
getNextPeTaskId in interface JobTaskpublic boolean isSetStopInitiateTime()
isSetStopInitiateTime in interface JobTasktrue if the stopInitiateTime attribute is setpublic void setStopInitiateTime(int aStopInitiateTime)
setStopInitiateTime in interface JobTaskaStopInitiateTime - the new value for the stopInitiateTime attributepublic int getStopInitiateTime()
getStopInitiateTime in interface JobTaskpublic 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 JobTasktrue if the wallclockLimit attribute is setpublic void setWallclockLimit(int aWallclockLimit)
setWallclockLimit in interface JobTaskaWallclockLimit - the new value for the wallclockLimit attributepublic int getWallclockLimit()
getWallclockLimit in interface JobTaskpublic void addMessage(QueueInstanceMessage amessage)
addMessage in interface JobTaskamessage - the new com.sun.grid.jgdi.configuration.QueueInstanceMessage attributepublic void setMessage(int index,
QueueInstanceMessage amessage)
setMessage in interface JobTaskindex - index of the com.sun.grid.jgdi.configuration.QueueInstanceMessage attributeamessage - the new com.sun.grid.jgdi.configuration.QueueInstanceMessage attributepublic void removeAllMessage()
removeAllMessage in interface JobTaskpublic QueueInstanceMessage removeMessage(int index)
removeMessage in interface JobTaskindex - 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 JobTaskamessage - 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 JobTaskpublic int getMessageCount()
getMessageCount in interface JobTaskpublic QueueInstanceMessage getMessage(int index)
getMessage in interface JobTaskindex - the index of the com.sun.grid.jgdi.configuration.QueueInstanceMessage attribute which should be
removedpublic boolean isSetMessage()
isSetMessage in interface JobTasktrue if the message attribute is setpublic boolean equals(java.lang.Object obj)
obj.equals in class java.lang.Objectobj - 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 GEObjectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2007 Sun Microsystems, Inc. All rights reserved.