예제 #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);
 }