Class True

All Implemented Interfaces:
Condition, ConditionBuilder

public final class True extends DefaultConditionBuilder
Condition that always returns true.
Author:
Lincoln Baxter, III
  • Constructor Details

    • True

      public True()
  • Method Details

    • evaluate

      public boolean evaluate(Rewrite event, EvaluationContext context)
      Description copied from interface: Condition
      Evaluate this condition against the given Rewrite event. If this condition does not apply to the given event, it must return false. If the condition applies and is satisfied, return true.
    • toString

      public String toString()
      Overrides:
      toString in class Object