- public int getAllowedExceptions()
- {
- return allowedExceptions;
- }
-
- public boolean deductAllowedExceptions() {
- return allowedExceptions-- > 0;
- }
-
- public void resetAllowedExceptions() {
- allowedExceptions = 3;
+ default boolean isDone() {
+ if (getJobs().size() == 0)
+ return false;
+ for (WSJob job : getJobs()) {
+ if (!job.getStatus().isDone())
+ return false;