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