code: public RunList<R> failureOnly() {
          return filter(new Predicate<R>() {
              public boolean apply(R r) {
                  return r.getResult()!=Result.SUCCESS;
              }
          });
      }
docs: Filter the list to non-successful builds only.
  <em>Warning:</em> this method mutates the original list and then returns it.