@Override
  public boolean evaluate(Resource resource) {
    return !getPredicate().evaluate(resource);
  }
Predicate that negates the evaluation of another predicate.
ambari-server/src/main/java/org/apache/ambari/server/controller/predicate/NotPredicate.java