Class EndpointEnabledCondition

java.lang.Object
io.micronaut.management.endpoint.EndpointEnabledCondition
All Implemented Interfaces:
Condition, Predicate<ConditionContext>

@Introspected public class EndpointEnabledCondition extends Object implements Condition
A condition that checks whether an Endpoint is enabled.
Author:
James Kleeh
  • Constructor Details

    • EndpointEnabledCondition

      public EndpointEnabledCondition()
  • 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