예제 #1
0
 public boolean isUnknown() {
   GridJobStatus currentJs = new GridJobStatus(exitStatus);
   if (currentJs.equals(UNKNOWN)) return true;
   return false;
 }
예제 #2
0
 public boolean isFinished() {
   GridJobStatus currentJs = new GridJobStatus(exitStatus);
   if (currentJs.equals(FAILED) || currentJs.equals(COMPLETED)) return true;
   return false;
 }
예제 #3
0
 public boolean isFailed() {
   GridJobStatus currentJs = new GridJobStatus(exitStatus);
   if (currentJs.equals(FAILED)) return true;
   return false;
 }
예제 #4
0
 public boolean isCompletedSuccessfully() {
   GridJobStatus currentJs = new GridJobStatus(exitStatus);
   if (currentJs.equals(COMPLETED)) return true;
   return false;
 }
예제 #5
0
 public boolean isEnded() {
   GridJobStatus currentJs = new GridJobStatus(exitStatus);
   if (currentJs.equals(ENDED) || isFinished()) return true;
   return false;
 }
예제 #6
0
 public boolean isRunning() {
   GridJobStatus currentJs = new GridJobStatus(exitStatus);
   if (currentJs.equals(STARTED)) return true;
   return false;
 }
예제 #7
0
 public boolean isSubmitted() {
   GridJobStatus currentJs = new GridJobStatus(exitStatus);
   if (currentJs.equals(SUBMITTED)) return true;
   return false;
 }