6 abstract class WSJob extends AWsJob
9 * @see jalview.ws.AWsJob#clearResponse()
12 public void clearResponse()
18 * @see jalview.ws.AWsJob#hasResponse()
21 public boolean hasResponse()
27 * @see jalview.ws.AWsJob#hasStatus()
30 public boolean hasStatus()
32 return result!=null && result.getStatus()!=null;
36 * The last result object returned by the service.
38 vamsas.objects.simple.Result result;
42 * @see vamsas.objects.simple.Result#getStatus()
44 public String getStatus()
46 return result==null ? null : result.getStatus();
49 public String getState() {
50 return result==null ? "NULL result" : ""+result.getState();
54 * @see vamsas.objects.simple.Result#isBroken()
56 public boolean isBroken()
58 return result!=null && result.isBroken();
63 * @see vamsas.objects.simple.Result#isFailed()
65 public boolean isFailed()
67 return result!=null && result.isFailed();
72 * @see vamsas.objects.simple.Result#isFinished()
74 public boolean isFinished()
76 return result!=null && result.isFinished();
81 * @see vamsas.objects.simple.Result#isInvalid()
83 public boolean isInvalid()
85 return result!=null && result.isInvalid();
90 * @see vamsas.objects.simple.Result#isJobFailed()
92 public boolean isJobFailed()
94 return result!=null && result.isJobFailed();
99 * @see vamsas.objects.simple.Result#isQueued()
101 public boolean isQueued()
103 return result!=null && result.isQueued();
108 * @see vamsas.objects.simple.Result#isRunning()
110 public boolean isRunning()
112 return result!=null && result.isRunning();
117 * @see vamsas.objects.simple.Result#isServerError()
119 public boolean isServerError()
121 return result!=null && result.isServerError();