public interface JsonFileHttpAccessLogPublisherCfgClient extends HttpAccessLogPublisherCfgClient
JSON File Based HTTP Access Log Publishers Publish access messages to Json files.
Modifier and Type | Method and Description |
---|---|
ManagedObjectDefinition<? extends JsonFileHttpAccessLogPublisherCfgClient,? extends JsonFileHttpAccessLogPublisherCfg> |
definition()
Get the configuration definition associated with this JSON File Based HTTP Access Log Publisher.
|
String |
getJavaClass()
Gets the "java-class" property.
|
String |
getLogDirectory()
Gets the "log-directory" property.
|
SortedSet<String> |
getRetentionPolicy()
Gets the "retention-policy" property.
|
SortedSet<String> |
getRotationPolicy()
Gets the "rotation-policy" property.
|
void |
setJavaClass(String value)
Sets the "java-class" property.
|
void |
setLogDirectory(String value)
Sets the "log-directory" property.
|
void |
setRetentionPolicy(Collection<String> values)
Sets the "retention-policy" property.
|
void |
setRotationPolicy(Collection<String> values)
Sets the "rotation-policy" property.
|
isEnabled, setEnabled
commit, properties
ManagedObjectDefinition<? extends JsonFileHttpAccessLogPublisherCfgClient,? extends JsonFileHttpAccessLogPublisherCfg> definition()
definition
in interface ConfigurationClient
definition
in interface HttpAccessLogPublisherCfgClient
definition
in interface LogPublisherCfgClient
String getJavaClass()
The fully-qualified name of the Java class that provides the JSON File Based HTTP Access Log Publisher implementation.
getJavaClass
in interface HttpAccessLogPublisherCfgClient
getJavaClass
in interface LogPublisherCfgClient
void setJavaClass(String value) throws PropertyException
The fully-qualified name of the Java class that provides the JSON File Based HTTP Access Log Publisher implementation.
setJavaClass
in interface HttpAccessLogPublisherCfgClient
setJavaClass
in interface LogPublisherCfgClient
value
- The value of the "java-class" property.PropertyException
- If the new value is invalid.String getLogDirectory()
The directory to use for the log files generated by the JSON File Based HTTP Access Log Publisher. The path to the directory is relative to the server root.
void setLogDirectory(String value) throws PropertyException
The directory to use for the log files generated by the JSON File Based HTTP Access Log Publisher. The path to the directory is relative to the server root.
value
- The value of the "log-directory" property.PropertyException
- If the new value is invalid.SortedSet<String> getRetentionPolicy()
The retention policy to use for the JSON File Based HTTP Access Log Publisher.
When multiple policies are used, log files are cleaned when any of the policy's conditions are met.
void setRetentionPolicy(Collection<String> values) throws PropertyException
The retention policy to use for the JSON File Based HTTP Access Log Publisher.
When multiple policies are used, log files are cleaned when any of the policy's conditions are met.
values
- The values of the "retention-policy" property.PropertyException
- If one or more of the new values are invalid.SortedSet<String> getRotationPolicy()
The rotation policy to use for the JSON File Based HTTP Access Log Publisher.
When multiple policies are used, rotation will occur if any policy's conditions are met.
void setRotationPolicy(Collection<String> values) throws PropertyException
The rotation policy to use for the JSON File Based HTTP Access Log Publisher.
When multiple policies are used, rotation will occur if any policy's conditions are met.
values
- The values of the "rotation-policy" property.PropertyException
- If one or more of the new values are invalid.Copyright 2010-2020 ForgeRock AS.