Class TrueCondition

java.lang.Object
io.micronaut.context.condition.TrueCondition
All Implemented Interfaces:
Condition, Predicate<ConditionContext>

public class TrueCondition extends Object implements Condition
A Condition that simply returns true.
Since:
1.0
Author:
Graeme Rocher
  • Constructor Details

    • TrueCondition

      public TrueCondition()
  • Method Details

    • matches

      public boolean matches(ConditionContext context)
      Description copied from interface: Condition
      Check whether a specific condition is met.
      Specified by:
      matches in interface Condition
      Parameters:
      context - The condition context
      Returns:
      True if has been met