public interface ClientPolicyExecutorProvider<CONFIG extends ClientPolicyExecutorConfigurationRepresentation> extends Provider
ClientPolicyEvent
.
It is sufficient for the implementer of this executor to implement methods in which they are interested
and isEvaluatedOnEvent
method.Modifier and Type | Method and Description |
---|---|
default void |
close() |
default void |
executeOnEvent(ClientPolicyContext context)
execute actions against the client on the event defined in
ClientPolicyEvent . |
default Class<CONFIG> |
getExecutorConfigurationClass() |
default String |
getName() |
String |
getProviderId() |
default void |
setupConfiguration(CONFIG config)
setup this executor's configuration.
|
default void setupConfiguration(CONFIG config)
config
- default Class<CONFIG> getExecutorConfigurationClass()
setupConfiguration(ClientPolicyExecutorConfigurationRepresentation)
default void executeOnEvent(ClientPolicyContext context) throws ClientPolicyException
ClientPolicyEvent
.context
- - the context of the event.{@link
- ClientPolicyException} - if something wrong happens when execution actions.ClientPolicyException
default String getName()
String getProviderId()
Copyright © 2021 JBoss by Red Hat. All rights reserved.