@Internal
public abstract class AbstractCondition
extends java.lang.Object
implements io.micronaut.context.condition.Condition
Constructor and Description |
---|
AbstractCondition() |
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.String |
getFailureMessagePrefix(java.lang.String name) |
protected abstract boolean |
handleConfigurationEnabled(OauthClientConfiguration clientConfiguration,
io.micronaut.context.condition.ConditionContext<?> context,
java.lang.String failureMsgPrefix) |
boolean |
matches(io.micronaut.context.condition.ConditionContext context) |
public boolean matches(io.micronaut.context.condition.ConditionContext context)
matches
in interface io.micronaut.context.condition.Condition
@NonNull protected abstract java.lang.String getFailureMessagePrefix(@NonNull java.lang.String name)
protected abstract boolean handleConfigurationEnabled(@NonNull OauthClientConfiguration clientConfiguration, @NonNull io.micronaut.context.condition.ConditionContext<?> context, @NonNull java.lang.String failureMsgPrefix)