|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedg.workload.userinterface.jclient.Result
The Result Class is used to store information of a required operation Depending on the operation type, the user will be able to check for possible error or in case of success retrieve back the Job required information
Field Summary | |
static int |
ACCEPTED
The requested operation has been accepted |
static int |
CANCEL
Job Cancellation Result value |
static int |
CANCEL_FAILURE
API failed = general RB Exc remapping |
static int |
CANCEL_FORBIDDEN
When trying to cancel a not submitted job |
static int |
CONDOR_FAILURE
Cancel Method Result |
static int |
FILE_TRANSFER_ERROR
SandboxIOException |
static int |
GENERIC_FAILURE
API failed = general RB Exc remapping |
static int |
GETOUTPUT_FAILURE
API failed = general RB Exc remapping |
static int |
GETOUTPUT_FORBIDDEN
When trying to retrieve output from a not submitted job |
static int |
GLOBUS_JOBMANAGER_FAILURE
Globus jobManager falied |
static int |
JOB_ABORTED
The Job Has aborted |
static int |
JOB_ALREADY_DONE
The Job Has been already completed |
static int |
JOB_CANCELLING
The Job Has been removed |
static int |
JOB_NOT_FOUND
JobNotFoundException |
static int |
JOB_NOT_OWNER
The User is not the owner of the job |
static int |
LISTMATCH
Matching CE info Result value |
static int |
LISTMATCH_FAILURE
API failed = general RB Exc remapping |
static int |
LISTMATCH_FORBIDDEN
When trying to retrieve ListMatch from a non-ad job |
static int |
LOGINFO
Events info Result value |
static int |
LOGINFO_FAILURE
API failed = general RB Exc remapping |
static int |
LOGINFO_FORBIDDEN
When trying to retrieve logging info from a not submitted job |
static int |
MARKED_FOR_REMOVAL
Cancel Method Result |
static int |
OUTPUT
Job Output files retrieval Result value |
static int |
OUTPUT_NOT_READY
JobNotDoneException |
static int |
OUTPUT_UNCOMPLETED
submit skipped because the job has been already submitted |
static int |
STATUS
JobStatus info Result value |
static int |
STATUS_FAILURE
API failed = general RB Exc remapping |
static int |
STATUS_FORBIDDEN
When trying to retrieve status from a not submitted job |
static int |
SUBMIT
Submission Result value |
static int |
SUBMIT_FAILURE
API failed = general RB Exc remapping |
static int |
SUBMIT_FORBIDDEN
When trying to submit a non-ad job |
static int |
SUBMIT_SKIP
submit skipped because the job has been already submitted |
static int |
SUCCESS
The requested operation has been completed successfully |
Method Summary | |
int |
getCode()
Retutn the code representig the required operation |
java.lang.String |
getId()
Retrun the Id representing the Job (empty string if the job hasn't been submitted) |
java.lang.Object |
getResult()
The Object returned from the operation depending on the operation itself The value of the Object is: SUBMIT = null CANCEL = null OUTPUT = null STATUS = the JobStatus of the Job LOGINFO = the Vector of the job's Events LISTMATCH = an HashMap listing the Computing Elements |
java.lang.String |
toString()
Convert the Result into a string |
java.lang.String |
toString(int verbosity)
Convert the Result into a string |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int SUBMIT
public static final int STATUS
public static final int CANCEL
public static final int OUTPUT
public static final int LOGINFO
public static final int LISTMATCH
public static final int SUCCESS
public static final int ACCEPTED
public static final int SUBMIT_FAILURE
public static final int STATUS_FAILURE
public static final int CANCEL_FAILURE
public static final int GETOUTPUT_FAILURE
public static final int LOGINFO_FAILURE
public static final int LISTMATCH_FAILURE
public static final int GENERIC_FAILURE
public static final int CONDOR_FAILURE
public static final int SUBMIT_FORBIDDEN
public static final int STATUS_FORBIDDEN
public static final int CANCEL_FORBIDDEN
public static final int GETOUTPUT_FORBIDDEN
public static final int LOGINFO_FORBIDDEN
public static final int LISTMATCH_FORBIDDEN
public static final int OUTPUT_NOT_READY
public static final int FILE_TRANSFER_ERROR
public static final int JOB_NOT_FOUND
public static final int MARKED_FOR_REMOVAL
public static final int GLOBUS_JOBMANAGER_FAILURE
public static final int JOB_ALREADY_DONE
public static final int JOB_ABORTED
public static final int JOB_CANCELLING
public static final int JOB_NOT_OWNER
public static final int SUBMIT_SKIP
public static final int OUTPUT_UNCOMPLETED
Method Detail |
public java.lang.String toString()
public java.lang.String toString(int verbosity)
public int getCode()
public java.lang.Object getResult()
SUBMIT = null
CANCEL = null
OUTPUT = null
STATUS = the JobStatus of the Job
LOGINFO = the Vector of the job's Events
LISTMATCH = an HashMap listing the Computing Elements
public java.lang.String getId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |