Interface JsonFileHTTPAccessLogPublisherCfgClient
-
- All Superinterfaces:
ConfigurationClient,HTTPAccessLogPublisherCfgClient,LogPublisherCfgClient
public interface JsonFileHTTPAccessLogPublisherCfgClient extends HTTPAccessLogPublisherCfgClient
A client-side interface for reading and modifying Json File HTTP Access Log Publisher settings.Json File HTTP Access Log Publishers Publish access messages to Json files.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedObjectDefinition<? extends JsonFileHTTPAccessLogPublisherCfgClient,? extends JsonFileHTTPAccessLogPublisherCfg>definition()Get the configuration definition associated with this Json File HTTP Access Log Publisher.StringgetJavaClass()Gets the "java-class" property.StringgetLogDirectory()Gets the "log-directory" property.SortedSet<String>getRetentionPolicy()Gets the "retention-policy" property.SortedSet<String>getRotationPolicy()Gets the "rotation-policy" property.voidsetJavaClass(String value)Sets the "java-class" property.voidsetLogDirectory(String value)Sets the "log-directory" property.voidsetRetentionPolicy(Collection<String> values)Sets the "retention-policy" property.voidsetRotationPolicy(Collection<String> values)Sets the "rotation-policy" property.-
Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
-
Methods inherited from interface org.forgerock.opendj.server.config.client.LogPublisherCfgClient
isEnabled, setEnabled
-
-
-
-
Method Detail
-
definition
ManagedObjectDefinition<? extends JsonFileHTTPAccessLogPublisherCfgClient,? extends JsonFileHTTPAccessLogPublisherCfg> definition()
Get the configuration definition associated with this Json File HTTP Access Log Publisher.- Specified by:
definitionin interfaceConfigurationClient- Specified by:
definitionin interfaceHTTPAccessLogPublisherCfgClient- Specified by:
definitionin interfaceLogPublisherCfgClient- Returns:
- Returns the configuration definition associated with this Json File HTTP Access Log Publisher.
-
getJavaClass
String getJavaClass()
Gets the "java-class" property.The fully-qualified name of the Java class that provides the Json File HTTP Access Log Publisher implementation.
- Specified by:
getJavaClassin interfaceHTTPAccessLogPublisherCfgClient- Specified by:
getJavaClassin interfaceLogPublisherCfgClient- Returns:
- Returns the value of the "java-class" property.
-
setJavaClass
void setJavaClass(String value) throws PropertyException
Sets the "java-class" property.The fully-qualified name of the Java class that provides the Json File HTTP Access Log Publisher implementation.
- Specified by:
setJavaClassin interfaceHTTPAccessLogPublisherCfgClient- Specified by:
setJavaClassin interfaceLogPublisherCfgClient- Parameters:
value- The value of the "java-class" property.- Throws:
PropertyException- If the new value is invalid.
-
getLogDirectory
String getLogDirectory()
Gets the "log-directory" property.The directory to use for the log files generated by the Json File HTTP Access Log Publisher. The path to the directory is relative to the server root.
- Returns:
- Returns the value of the "log-directory" property.
-
setLogDirectory
void setLogDirectory(String value) throws PropertyException
Sets the "log-directory" property.The directory to use for the log files generated by the Json File HTTP Access Log Publisher. The path to the directory is relative to the server root.
- Parameters:
value- The value of the "log-directory" property.- Throws:
PropertyException- If the new value is invalid.
-
getRetentionPolicy
SortedSet<String> getRetentionPolicy()
Gets the "retention-policy" property.The retention policy to use for the Json File HTTP Access Log Publisher.
When multiple policies are used, log files are cleaned when any of the policy's conditions are met.
- Returns:
- Returns the values of the "retention-policy" property.
-
setRetentionPolicy
void setRetentionPolicy(Collection<String> values) throws PropertyException
Sets the "retention-policy" property.The retention policy to use for the Json File HTTP Access Log Publisher.
When multiple policies are used, log files are cleaned when any of the policy's conditions are met.
- Parameters:
values- The values of the "retention-policy" property.- Throws:
PropertyException- If one or more of the new values are invalid.
-
getRotationPolicy
SortedSet<String> getRotationPolicy()
Gets the "rotation-policy" property.The rotation policy to use for the Json File HTTP Access Log Publisher.
When multiple policies are used, rotation will occur if any policy's conditions are met.
- Returns:
- Returns the values of the "rotation-policy" property.
-
setRotationPolicy
void setRotationPolicy(Collection<String> values) throws PropertyException
Sets the "rotation-policy" property.The rotation policy to use for the Json File HTTP Access Log Publisher.
When multiple policies are used, rotation will occur if any policy's conditions are met.
- Parameters:
values- The values of the "rotation-policy" property.- Throws:
PropertyException- If one or more of the new values are invalid.
-
-