Class EventHandlerConfiguration
- java.lang.Object
- 
- org.forgerock.audit.events.handlers.EventHandlerConfiguration
 
- 
- Direct Known Subclasses:
- ElasticsearchAuditEventHandlerConfiguration,- FileBasedEventHandlerConfiguration,- JdbcAuditEventHandlerConfiguration,- JmsAuditEventHandlerConfiguration,- SplunkAuditEventHandlerConfiguration,- SyslogAuditEventHandlerConfiguration
 
 public abstract class EventHandlerConfiguration extends Object Base class for audit event handler configuration.
- 
- 
Constructor SummaryConstructors Constructor Description EventHandlerConfiguration()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetName()Returns the name of this handler.Set<String>getTopics()Returns the names of the topics accepted by this handler.booleanisEnabled()Checks if the audit event handler is enabled.abstract booleanisUsableForQueries()States if anAuditEventHandlercan be used for queries.voidsetEnabled(boolean enabled)Sets the enabled flag for an audit event handler.voidsetName(String name)Sets the name of this handler.voidsetTopics(Set<String> topics)Sets the topics accepted by this handler.
 
- 
- 
- 
Method Detail- 
isEnabledpublic boolean isEnabled() Checks if the audit event handler is enabled.- Returns:
- True - If the audit event handler is enabled. False - If the audit event handler is disabled.
 
 - 
setEnabledpublic void setEnabled(boolean enabled) Sets the enabled flag for an audit event handler.- Parameters:
- enabled- True - Enable the audit event handler. False - Disable the audit event handler.
 
 - 
getNamepublic String getName() Returns the name of this handler.- Returns:
- the name
 
 - 
setNamepublic void setName(String name) Sets the name of this handler.- Parameters:
- name- The name
 
 - 
getTopicspublic Set<String> getTopics() Returns the names of the topics accepted by this handler.- Returns:
- the set of topic names
 
 - 
setTopicspublic void setTopics(Set<String> topics) Sets the topics accepted by this handler.- Parameters:
- topics- The names of all accepted topics
 
 - 
isUsableForQueriespublic abstract boolean isUsableForQueries() States if anAuditEventHandlercan be used for queries.- Returns:
- True - If the AuditEventHandlercan be used for queries. False - If theAuditEventHandlercan not be used for queries.
 
 
- 
 
-