Class FileBasedAccessLogPublisherCfgDefn
File Based Access Log Publishers publish access messages to the file system.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Defines the set of permissible values for the "log-format" property. -
Method Summary
Modifier and TypeMethodDescriptioncreateClientConfiguration
(ManagedObject<? extends FileBasedAccessLogPublisherCfgClient> impl) Creates a client configuration view of the provided managed object.createServerConfiguration
(ServerManagedObject<? extends FileBasedAccessLogPublisherCfg> impl) Creates a server configuration view of the provided server managed object.Get the "access-log-filtering-criteria" relation definition.Get the "append" property definition.Get the "asynchronous" property definition.Get the "auto-flush" property definition.Get the "buffer-size" property definition.Get the "enabled" property definition.Get the "filtering-policy" property definition.Get the File Based Access Log Publisher configuration definition singleton.Get the "java-class" property definition.Get the "log-controls" property definition.Get the "log-file-permissions" property definition.Get the "log-file" property definition.Get the "log-format" property definition.Get the "log-record-time-format" property definition.Get the "queue-size" property definition.Get the "retention-policy" property definition.Get the "rotation-policy" property definition.Gets the server configuration class instance associated with this managed object definition.Get the "suppress-internal-operations" property definition.Get the "suppress-synchronization-operations" property definition.Get the "time-interval" property definition.Methods inherited from class org.forgerock.opendj.config.AbstractManagedObjectDefinition
getAggregationPropertyDefinitions, getAllAggregationPropertyDefinitions, getAllChildren, getAllConstraints, getAllPropertyDefinitions, getAllRelationDefinitions, getAllReverseRelationDefinitions, getAllTags, getChild, getChildren, getConstraints, getDeprecated, getDescription, getDescription, getName, getParent, getPropertyDefinition, getPropertyDefinitions, getRelationDefinition, getRelationDefinitions, getReverseAggregationPropertyDefinitions, getReverseRelationDefinitions, getSynopsis, getSynopsis, getUserFriendlyName, getUserFriendlyName, getUserFriendlyPluralName, getUserFriendlyPluralName, hasChildren, hasOption, hasTag, initialize, isChildOf, isParentOf, isTop, registerConstraint, registerDeprecated, registerOption, registerPropertyDefinition, registerRelationDefinition, registerTag, resolveManagedObjectDefinition, toString, toString
-
Method Details
-
getInstance
Get the File Based Access Log Publisher configuration definition singleton.- Returns:
- Returns the File Based Access Log Publisher configuration definition singleton.
-
createClientConfiguration
public FileBasedAccessLogPublisherCfgClient createClientConfiguration(ManagedObject<? extends FileBasedAccessLogPublisherCfgClient> impl) Description copied from class:ManagedObjectDefinition
Creates a client configuration view of the provided managed object. Modifications made to the underlying managed object will be reflected in the client configuration view and vice versa.- Specified by:
createClientConfiguration
in classManagedObjectDefinition<FileBasedAccessLogPublisherCfgClient,
FileBasedAccessLogPublisherCfg> - Parameters:
impl
- The managed object.- Returns:
- Returns a client configuration view of the provided managed object.
-
createServerConfiguration
public FileBasedAccessLogPublisherCfg createServerConfiguration(ServerManagedObject<? extends FileBasedAccessLogPublisherCfg> impl) Description copied from class:ManagedObjectDefinition
Creates a server configuration view of the provided server managed object.- Specified by:
createServerConfiguration
in classManagedObjectDefinition<FileBasedAccessLogPublisherCfgClient,
FileBasedAccessLogPublisherCfg> - Parameters:
impl
- The server managed object.- Returns:
- Returns a server configuration view of the provided server managed object.
-
getServerConfigurationClass
Description copied from class:ManagedObjectDefinition
Gets the server configuration class instance associated with this managed object definition.- Specified by:
getServerConfigurationClass
in classManagedObjectDefinition<FileBasedAccessLogPublisherCfgClient,
FileBasedAccessLogPublisherCfg> - Returns:
- Returns the server configuration class instance associated with this managed object definition.
-
getAppendPropertyDefinition
Get the "append" property definition.Specifies whether to append to existing log files.
- Returns:
- Returns the "append" property definition.
-
getAsynchronousPropertyDefinition
Get the "asynchronous" property definition.Indicates whether the File Based Access Log Publisher will publish records asynchronously.
- Returns:
- Returns the "asynchronous" property definition.
-
getAutoFlushPropertyDefinition
Get the "auto-flush" property definition.Specifies whether to flush the writer after every log record.
If the asynchronous writes option is used, the writer is flushed after all the log records in the queue are written.
- Returns:
- Returns the "auto-flush" property definition.
-
getBufferSizePropertyDefinition
Get the "buffer-size" property definition.Specifies the log file buffer size.
- Returns:
- Returns the "buffer-size" property definition.
-
getEnabledPropertyDefinition
Get the "enabled" property definition.Indicates whether the File Based Access Log Publisher is enabled for use.
- Returns:
- Returns the "enabled" property definition.
-
getFilteringPolicyPropertyDefinition
public EnumPropertyDefinition<AccessLogPublisherCfgDefn.FilteringPolicy> getFilteringPolicyPropertyDefinition()Get the "filtering-policy" property definition.Specifies how filtering criteria should be applied to log records.
- Returns:
- Returns the "filtering-policy" property definition.
-
getJavaClassPropertyDefinition
Get the "java-class" property definition.The fully-qualified name of the Java class that provides the File Based Access Log Publisher implementation.
- Returns:
- Returns the "java-class" property definition.
-
getLogControlsPropertyDefinition
Get the "log-controls" property definition.Specifies whether controls with criticality and values will be included in operation log records.
- Returns:
- Returns the "log-controls" property definition.
-
getLogFilePropertyDefinition
Get the "log-file" property definition.The file name to use for the log files generated by the File Based Access Log Publisher. The path to the file is relative to the server root.
- Returns:
- Returns the "log-file" property definition.
-
getLogFilePermissionsPropertyDefinition
Get the "log-file-permissions" property definition.The UNIX permissions of the log files created by this File Based Access Log Publisher.
- Returns:
- Returns the "log-file-permissions" property definition.
-
getLogFormatPropertyDefinition
public EnumPropertyDefinition<FileBasedAccessLogPublisherCfgDefn.LogFormat> getLogFormatPropertyDefinition()Get the "log-format" property definition.Specifies how log records should be formatted and written to the access log.
- Returns:
- Returns the "log-format" property definition.
-
getLogRecordTimeFormatPropertyDefinition
Get the "log-record-time-format" property definition.Specifies the format string that is used to generate log record timestamps.
- Returns:
- Returns the "log-record-time-format" property definition.
-
getQueueSizePropertyDefinition
Get the "queue-size" property definition.The maximum number of log records that can be stored in the asynchronous queue.
- Returns:
- Returns the "queue-size" property definition.
-
getRetentionPolicyPropertyDefinition
public AggregationPropertyDefinition<LogRetentionPolicyCfgClient,LogRetentionPolicyCfg> getRetentionPolicyPropertyDefinition()Get the "retention-policy" property definition.The retention policy to use for the File Based Access Log Publisher .
When multiple policies are used, log files are cleaned when any of the policy's conditions are met.
- Returns:
- Returns the "retention-policy" property definition.
-
getRotationPolicyPropertyDefinition
public AggregationPropertyDefinition<LogRotationPolicyCfgClient,LogRotationPolicyCfg> getRotationPolicyPropertyDefinition()Get the "rotation-policy" property definition.The rotation policy to use for the File Based Access Log Publisher .
When multiple policies are used, rotation will occur if any policy's conditions are met.
- Returns:
- Returns the "rotation-policy" property definition.
-
getSuppressInternalOperationsPropertyDefinition
Get the "suppress-internal-operations" property definition.Indicates whether internal operations (for example, operations that are initiated by plugins) should be logged along with the operations that are requested by users.
- Returns:
- Returns the "suppress-internal-operations" property definition.
-
getSuppressSynchronizationOperationsPropertyDefinition
Get the "suppress-synchronization-operations" property definition.Indicates whether access messages that are generated by synchronization operations should be suppressed.
- Returns:
- Returns the "suppress-synchronization-operations" property definition.
-
getTimeIntervalPropertyDefinition
Get the "time-interval" property definition.Specifies the interval at which to check whether the log files need to be rotated.
- Returns:
- Returns the "time-interval" property definition.
-
getAccessLogFilteringCriteriaRelationDefinition
public InstantiableRelationDefinition<AccessLogFilteringCriteriaCfgClient,AccessLogFilteringCriteriaCfg> getAccessLogFilteringCriteriaRelationDefinition()Get the "access-log-filtering-criteria" relation definition.- Returns:
- Returns the "access-log-filtering-criteria" relation definition.
-