Interface Condition


public interface Condition
Predicate hook used by Conditional.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true when the target should be registered.
  • Method Details

    • matches

      boolean matches(ConditionContext ctx)
      Returns true when the target should be registered.
      Parameters:
      ctx - The condition context.
      Returns:
      true if the condition matches.