All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cdc.bench.support.checks.PredicateResult Maven / Gradle / Ivy

There is a newer version: 0.2.1
Show newest version
package cdc.bench.support.checks;

public class PredicateResult {
   private final boolean applied;
   private final String message;

   public static final PredicateResult TRUE = new PredicateResult(true, null);
   public static final PredicateResult FALSE = new PredicateResult(false, null);

   public PredicateResult(boolean applied,
                          String message) {
      this.applied = applied;
      this.message = message;
   }

   public boolean isApplied() {
      return applied;
   }

   public String getMessage() {
      return message;
   }

   @Override
   public String toString() {
      return applied + " " + message;
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy