Class ConsoleErrorLogPublisherCfgDefn
- java.lang.Object
-
- org.forgerock.opendj.config.AbstractManagedObjectDefinition<C,S>
-
- org.forgerock.opendj.config.ManagedObjectDefinition<ConsoleErrorLogPublisherCfgClient,ConsoleErrorLogPublisherCfg>
-
- org.forgerock.opendj.server.config.meta.ConsoleErrorLogPublisherCfgDefn
-
public final class ConsoleErrorLogPublisherCfgDefn extends ManagedObjectDefinition<ConsoleErrorLogPublisherCfgClient,ConsoleErrorLogPublisherCfg>
An interface for querying the Console Error Log Publisher managed object definition meta information.Console Error Log Publishers publish error messages to the console (STDOUT).
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsoleErrorLogPublisherCfgClient
createClientConfiguration(ManagedObject<? extends ConsoleErrorLogPublisherCfgClient> impl)
Creates a client configuration view of the provided managed object.ConsoleErrorLogPublisherCfg
createServerConfiguration(ServerManagedObject<? extends ConsoleErrorLogPublisherCfg> impl)
Creates a server configuration view of the provided server managed object.EnumPropertyDefinition<ErrorLogPublisherCfgDefn.DefaultSeverity>
getDefaultSeverityPropertyDefinition()
Get the "default-severity" property definition.BooleanPropertyDefinition
getEnabledPropertyDefinition()
Get the "enabled" property definition.static ConsoleErrorLogPublisherCfgDefn
getInstance()
Get the Console Error Log Publisher configuration definition singleton.ClassPropertyDefinition
getJavaClassPropertyDefinition()
Get the "java-class" property definition.StringPropertyDefinition
getOverrideSeverityPropertyDefinition()
Get the "override-severity" property definition.Class<ConsoleErrorLogPublisherCfg>
getServerConfigurationClass()
Gets the server configuration class instance associated with this managed object definition.-
Methods inherited from class org.forgerock.opendj.config.AbstractManagedObjectDefinition
getAggregationPropertyDefinition, getAggregationPropertyDefinitions, getAllAggregationPropertyDefinitions, getAllChildren, getAllConstraints, getAllPropertyDefinitions, getAllRelationDefinitions, getAllReverseAggregationPropertyDefinitions, getAllReverseRelationDefinitions, getAllTags, getChild, getChildren, getConstraints, getDescription, getDescription, getName, getParent, getPropertyDefinition, getPropertyDefinitions, getRelationDefinition, getRelationDefinitions, getReverseAggregationPropertyDefinitions, getReverseRelationDefinitions, getSynopsis, getSynopsis, getUserFriendlyName, getUserFriendlyName, getUserFriendlyPluralName, getUserFriendlyPluralName, hasChildren, hasOption, hasTag, initialize, isChildOf, isParentOf, isTop, registerConstraint, registerOption, registerPropertyDefinition, registerRelationDefinition, registerTag, resolveManagedObjectDefinition, toString, toString
-
-
-
-
Method Detail
-
getInstance
public static ConsoleErrorLogPublisherCfgDefn getInstance()
Get the Console Error Log Publisher configuration definition singleton.- Returns:
- Returns the Console Error Log Publisher configuration definition singleton.
-
createClientConfiguration
public ConsoleErrorLogPublisherCfgClient createClientConfiguration(ManagedObject<? extends ConsoleErrorLogPublisherCfgClient> 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<ConsoleErrorLogPublisherCfgClient,ConsoleErrorLogPublisherCfg>
- Parameters:
impl
- The managed object.- Returns:
- Returns a client configuration view of the provided managed object.
-
createServerConfiguration
public ConsoleErrorLogPublisherCfg createServerConfiguration(ServerManagedObject<? extends ConsoleErrorLogPublisherCfg> impl)
Description copied from class:ManagedObjectDefinition
Creates a server configuration view of the provided server managed object.- Specified by:
createServerConfiguration
in classManagedObjectDefinition<ConsoleErrorLogPublisherCfgClient,ConsoleErrorLogPublisherCfg>
- Parameters:
impl
- The server managed object.- Returns:
- Returns a server configuration view of the provided server managed object.
-
getServerConfigurationClass
public Class<ConsoleErrorLogPublisherCfg> getServerConfigurationClass()
Description copied from class:ManagedObjectDefinition
Gets the server configuration class instance associated with this managed object definition.- Specified by:
getServerConfigurationClass
in classManagedObjectDefinition<ConsoleErrorLogPublisherCfgClient,ConsoleErrorLogPublisherCfg>
- Returns:
- Returns the server configuration class instance associated with this managed object definition.
-
getDefaultSeverityPropertyDefinition
public EnumPropertyDefinition<ErrorLogPublisherCfgDefn.DefaultSeverity> getDefaultSeverityPropertyDefinition()
Get the "default-severity" property definition.Specifies the default severity levels for the logger.
- Returns:
- Returns the "default-severity" property definition.
-
getEnabledPropertyDefinition
public BooleanPropertyDefinition getEnabledPropertyDefinition()
Get the "enabled" property definition.Indicates whether the Console Error Log Publisher is enabled for use.
- Returns:
- Returns the "enabled" property definition.
-
getJavaClassPropertyDefinition
public ClassPropertyDefinition getJavaClassPropertyDefinition()
Get the "java-class" property definition.The fully-qualified name of the Java class that provides the Console Error Log Publisher implementation.
- Returns:
- Returns the "java-class" property definition.
-
getOverrideSeverityPropertyDefinition
public StringPropertyDefinition getOverrideSeverityPropertyDefinition()
Get the "override-severity" property definition.Specifies the override severity levels for the logger based on the category of the messages.
Each override severity level should include the category and the severity levels to log for that category, for example, core=error,info,warning. Valid categories are: core, extensions, protocol, config, log, util, schema, plugin, jeb, backend, tools, task, access-control, admin, sync, version, setup, admin-tool, dsconfig, user-defined. Valid severities are: all, error, info, warning, notice, debug.
- Returns:
- Returns the "override-severity" property definition.
-
-