Interface LogPublisherCfgClient
-
- All Superinterfaces:
ConfigurationClient
- All Known Subinterfaces:
AccessLogPublisherCfgClient,CsvFileAccessLogPublisherCfgClient,CsvFileHTTPAccessLogPublisherCfgClient,DebugLogPublisherCfgClient,ErrorLogPublisherCfgClient,ExternalAccessLogPublisherCfgClient,ExternalHTTPAccessLogPublisherCfgClient,FileBasedAccessLogPublisherCfgClient,FileBasedAuditLogPublisherCfgClient,FileBasedDebugLogPublisherCfgClient,FileBasedErrorLogPublisherCfgClient,FileBasedHTTPAccessLogPublisherCfgClient,HTTPAccessLogPublisherCfgClient,JsonFileAccessLogPublisherCfgClient,JsonFileHTTPAccessLogPublisherCfgClient
public interface LogPublisherCfgClient extends ConfigurationClient
A client-side interface for reading and modifying Log Publisher settings.Log Publishers are responsible for distributing log messages from different loggers to a destination.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedObjectDefinition<? extends LogPublisherCfgClient,? extends LogPublisherCfg>definition()Get the configuration definition associated with this Log Publisher.StringgetJavaClass()Gets the "java-class" property.BooleanisEnabled()Gets the "enabled" property.voidsetEnabled(boolean value)Sets the "enabled" property.voidsetJavaClass(String value)Sets the "java-class" property.-
Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
-
-
-
-
Method Detail
-
definition
ManagedObjectDefinition<? extends LogPublisherCfgClient,? extends LogPublisherCfg> definition()
Get the configuration definition associated with this Log Publisher.- Specified by:
definitionin interfaceConfigurationClient- Returns:
- Returns the configuration definition associated with this Log Publisher.
-
isEnabled
Boolean isEnabled()
Gets the "enabled" property.Indicates whether the Log Publisher is enabled for use.
- Returns:
- Returns the value of the "enabled" property.
-
setEnabled
void setEnabled(boolean value) throws PropertyExceptionSets the "enabled" property.Indicates whether the Log Publisher is enabled for use.
- Parameters:
value- The value of the "enabled" property.- Throws:
PropertyException- If the new value is invalid.
-
getJavaClass
String getJavaClass()
Gets the "java-class" property.The fully-qualified name of the Java class that provides the Log Publisher implementation.
- 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 Log Publisher implementation.
- Parameters:
value- The value of the "java-class" property.- Throws:
PropertyException- If the new value is invalid.
-
-