Class ControlPanelEnabledCondition
java.lang.Object
io.micronaut.controlpanel.core.config.ControlPanelEnabledCondition
- All Implemented Interfaces:
io.micronaut.context.condition.Condition,Predicate<io.micronaut.context.condition.ConditionContext>
@Internal
public class ControlPanelEnabledCondition
extends Object
implements io.micronaut.context.condition.Condition
Condition that checks if the control panel module should be enabled.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatches(io.micronaut.context.condition.ConditionContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.context.condition.Condition
test
-
Constructor Details
-
ControlPanelEnabledCondition
public ControlPanelEnabledCondition()
-
-
Method Details
-
matches
public boolean matches(io.micronaut.context.condition.ConditionContext context) - Specified by:
matchesin interfaceio.micronaut.context.condition.Condition
-