public interface ClientPolicyConditionProvider extends Provider
ClientPolicyProvider
is adopted.
The condition can be evaluated on the events defined in ClientPolicyEvent
.
It is sufficient for the implementer of this condition to implement methods in which they are interested
and isEvaluatedOnEvent
method.Modifier and Type | Method and Description |
---|---|
default ClientPolicyVote |
applyPolicy(ClientPolicyContext context)
returns ABSTAIN if this condition is not evaluated due to its nature.
|
default void |
close() |
String |
getName() |
String |
getProviderId() |
default ClientPolicyVote applyPolicy(ClientPolicyContext context) throws ClientPolicyException
ClientPolicyEvent
.
If not, returns NO.context
- - the context of the event.{@link
- ClientPolicyException} - thrown if the condition is not evaluated in its nature on the event specified by context.ClientPolicyException
String getName()
String getProviderId()
Copyright © 2020 JBoss by Red Hat. All rights reserved.