|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IBatchJobInfo
Interface for holding information about a specific Grid job.
| Nested Class Summary | |
|---|---|
static class |
IBatchJobInfo.JobState
This field determines the type of the state of this Queue. |
| Method Summary | |
|---|---|
void |
deleteJob()
Deletes this job from the batch service. |
java.lang.String |
getJobId()
|
java.lang.String |
getJobName()
|
java.lang.String |
getQueueName()
|
java.lang.String |
getServiceTypeName()
Return the type of batch service name that handles this batch job. |
IBatchJobInfo.JobState |
getStatus()
|
java.lang.String |
getTimeUse()
|
java.lang.String |
getUserAccount()
|
void |
holdJob()
Puts a hold on the job in the queue of the batch service. |
boolean |
isDeletable()
Can this job be deleted. |
boolean |
isHoldable()
Can this job be held. |
boolean |
isMovable()
Can this job be moved. |
boolean |
isReleasable()
Can this job be released. |
boolean |
isReRunnable()
Can this job be reRun. |
void |
moveJob(java.lang.String destQueue,
java.lang.String destServer)
Move this job to another worker node or batch service. |
void |
releaseJob()
Release the job with a previous hold in queue of the batch system. |
void |
reRunJob()
ReRun the currently executing job in the batch system. |
void |
setQueueName(java.lang.String queueName)
|
void |
setStatus(IBatchJobInfo.JobState status)
|
void |
setTimeUse(java.lang.String timeUse)
|
void |
setUserAccount(java.lang.String userAccount)
|
| Method Detail |
|---|
java.lang.String getQueueName()
void setQueueName(java.lang.String queueName)
queueName - the queueName to setIBatchJobInfo.JobState getStatus()
void setStatus(IBatchJobInfo.JobState status)
status - the status to setjava.lang.String getTimeUse()
void setTimeUse(java.lang.String timeUse)
timeUse - the timeUse to setjava.lang.String getUserAccount()
void setUserAccount(java.lang.String userAccount)
userAccount - the userAccount to setjava.lang.String getJobId()
java.lang.String getJobName()
boolean isDeletable()
true<\code> if this job can be deleted, false otherwise.boolean isMovable()
true if this job can be moved, false otherwise.boolean isHoldable()
true<\code> if this job can be held, false otherwise.boolean isReleasable()
true<\code> if this job can be released, false otherwise.boolean isReRunnable()
true<\code> if this job can be reRun, false otherwise.
void deleteJob()
throws ProblemException
ProblemException - If command is not executed successfully
void moveJob(java.lang.String destQueue,
java.lang.String destServer)
throws ProblemException
destQueue - The destination queue, null if no destination queue.destServer - The destination server, null if no destination server.
ProblemException - If command is not executed successfully
void holdJob()
throws ProblemException
ProblemException - If command is not executed successfully
void releaseJob()
throws ProblemException
ProblemException - If command is not executed successfully
void reRunJob()
throws ProblemException
ProblemException - If command is not executed successfullyjava.lang.String getServiceTypeName()
null if unknown.
|
g-Eclipse Release 1.0.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||