1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
package jalview.ws.jws1; |
22 |
|
|
23 |
|
import jalview.ws.AWsJob; |
24 |
|
|
|
|
| 0% |
Uncovered Elements: 30 (30) |
Complexity: 15 |
Complexity Density: 1.15 |
|
25 |
|
abstract class WSJob extends AWsJob |
26 |
|
{ |
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
@see |
31 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
32 |
0 |
@Override... |
33 |
|
public void clearResponse() |
34 |
|
{ |
35 |
0 |
result = null; |
36 |
|
} |
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
@see |
42 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
43 |
0 |
@Override... |
44 |
|
public boolean hasResponse() |
45 |
|
{ |
46 |
0 |
return result != null; |
47 |
|
} |
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
@see |
53 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
54 |
0 |
@Override... |
55 |
|
public boolean hasStatus() |
56 |
|
{ |
57 |
0 |
return result != null && result.getStatus() != null; |
58 |
|
} |
59 |
|
|
60 |
|
|
61 |
|
|
62 |
|
|
63 |
|
vamsas.objects.simple.Result result; |
64 |
|
|
65 |
|
|
66 |
|
@return |
67 |
|
@see |
68 |
|
|
|
|
| 0% |
Uncovered Elements: 3 (3) |
Complexity: 2 |
Complexity Density: 2 |
|
69 |
0 |
public String getStatus()... |
70 |
|
{ |
71 |
0 |
return result == null ? null : result.getStatus(); |
72 |
|
} |
73 |
|
|
|
|
| 0% |
Uncovered Elements: 3 (3) |
Complexity: 2 |
Complexity Density: 2 |
|
74 |
0 |
public String getState()... |
75 |
|
{ |
76 |
0 |
return result == null ? "NULL result" : "" + result.getState(); |
77 |
|
} |
78 |
|
|
79 |
|
|
80 |
|
@return |
81 |
|
@see |
82 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
83 |
0 |
public boolean isBroken()... |
84 |
|
{ |
85 |
0 |
return result != null && result.isBroken(); |
86 |
|
} |
87 |
|
|
88 |
|
|
89 |
|
@return |
90 |
|
@see |
91 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
92 |
0 |
public boolean isFailed()... |
93 |
|
{ |
94 |
0 |
return result != null && result.isFailed(); |
95 |
|
} |
96 |
|
|
97 |
|
|
98 |
|
@return |
99 |
|
@see |
100 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
101 |
0 |
public boolean isFinished()... |
102 |
|
{ |
103 |
0 |
return result != null && result.isFinished(); |
104 |
|
} |
105 |
|
|
106 |
|
|
107 |
|
@return |
108 |
|
@see |
109 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
110 |
0 |
public boolean isInvalid()... |
111 |
|
{ |
112 |
0 |
return result != null && result.isInvalid(); |
113 |
|
} |
114 |
|
|
115 |
|
|
116 |
|
@return |
117 |
|
@see |
118 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
119 |
0 |
public boolean isJobFailed()... |
120 |
|
{ |
121 |
0 |
return result != null && result.isJobFailed(); |
122 |
|
} |
123 |
|
|
124 |
|
|
125 |
|
@return |
126 |
|
@see |
127 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
128 |
0 |
public boolean isQueued()... |
129 |
|
{ |
130 |
0 |
return result != null && result.isQueued(); |
131 |
|
} |
132 |
|
|
133 |
|
|
134 |
|
@return |
135 |
|
@see |
136 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
137 |
0 |
public boolean isRunning()... |
138 |
|
{ |
139 |
0 |
return result != null && result.isRunning(); |
140 |
|
} |
141 |
|
|
142 |
|
|
143 |
|
@return |
144 |
|
@see |
145 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
146 |
0 |
public boolean isServerError()... |
147 |
|
{ |
148 |
0 |
return result != null && result.isServerError(); |
149 |
|
} |
150 |
|
} |