Пример #1
0
 @Override
 public boolean isFailure(ProgressEvent event) {
   return Utils.isNotNullOrEmpty(event.getError());
 }
Пример #2
0
 @Override
 public boolean isSuccess(ProgressEvent event) {
   return Utils.isNotNullOrEmpty(event.getStream())
       && event.getStream().startsWith(SUCCESSFULLY_BUILT);
 }