public abstract class EventHandlerConfiguration extends Object
Constructor and Description |
---|
EventHandlerConfiguration() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of this handler.
|
Set<String> |
getTopics()
Returns the names of the topics accepted by this handler.
|
boolean |
isEnabled()
Checks if the audit event handler is enabled.
|
abstract boolean |
isUsableForQueries()
States if an
AuditEventHandler can be used for queries. |
void |
setEnabled(boolean enabled)
Sets the enabled flag for an audit event handler.
|
void |
setName(String name)
Sets the name of this handler.
|
void |
setTopics(Set<String> topics)
Sets the topics accepted by this handler.
|
public EventHandlerConfiguration()
public boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- True - Enable the audit event handler.
False - Disable the audit event handler.public Set<String> getTopics()
public void setTopics(Set<String> topics)
topics
- The names of all accepted topicspublic abstract boolean isUsableForQueries()
AuditEventHandler
can be used for queries.AuditEventHandler
can be used for queries.
False - If the AuditEventHandler
can not be used for queries.Copyright 2010-2017 ForgeRock AS.