Class JsonStdoutAuditEventHandlerConfiguration
- java.lang.Object
-
- org.forgerock.audit.events.handlers.EventHandlerConfiguration
-
- org.forgerock.audit.handlers.json.stdout.JsonStdoutAuditEventHandlerConfiguration
-
public class JsonStdoutAuditEventHandlerConfiguration extends EventHandlerConfiguration
Configuration forJsonStdoutAuditEventHandler
.
-
-
Constructor Summary
Constructors Constructor Description JsonStdoutAuditEventHandlerConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isElasticsearchCompatible()
Determines if JSON format should be transformed to be compatible with ElasticSearch format restrictions.boolean
isUsableForQueries()
States if anAuditEventHandler
can be used for queries.void
setElasticsearchCompatible(boolean elasticsearchCompatible)
Specifies if JSON format should be transformed to be compatible with ElasticSearch format restrictions.-
Methods inherited from class org.forgerock.audit.events.handlers.EventHandlerConfiguration
getName, getTopics, isEnabled, setEnabled, setName, setTopics
-
-
-
-
Method Detail
-
isElasticsearchCompatible
public boolean isElasticsearchCompatible()
Determines if JSON format should be transformed to be compatible with ElasticSearch format restrictions.- Returns:
true
for ElasticSearch JSON format compatibility enforcement andfalse
otherwise
-
setElasticsearchCompatible
public void setElasticsearchCompatible(boolean elasticsearchCompatible)
Specifies if JSON format should be transformed to be compatible with ElasticSearch format restrictions.- Parameters:
elasticsearchCompatible
-true
for ElasticSearch JSON format compatibility enforcements andfalse
otherwise
-
isUsableForQueries
public boolean isUsableForQueries()
Description copied from class:EventHandlerConfiguration
States if anAuditEventHandler
can be used for queries.- Specified by:
isUsableForQueries
in classEventHandlerConfiguration
- Returns:
- True - If the
AuditEventHandler
can be used for queries. False - If theAuditEventHandler
can not be used for queries.
-
-