public interface DebugTargetCfg extends Configuration
Debug Targets define the types of messages logged by the debug logPublisher.
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ConfigurationChangeListener<DebugTargetCfg> listener)
Register to be notified when this Debug Target is changed.
|
Class<? extends DebugTargetCfg> |
configurationClass()
Gets the configuration class associated with this Debug Target.
|
String |
getDebugScope()
Gets the "debug-scope" property.
|
int |
getThrowableStackFrames()
Gets the "throwable-stack-frames" property.
|
boolean |
isDebugExceptionsOnly()
Gets the "debug-exceptions-only" property.
|
boolean |
isEnabled()
Gets the "enabled" property.
|
boolean |
isIncludeThrowableCause()
Gets the "include-throwable-cause" property.
|
boolean |
isOmitMethodEntryArguments()
Gets the "omit-method-entry-arguments" property.
|
boolean |
isOmitMethodReturnValue()
Gets the "omit-method-return-value" property.
|
void |
removeChangeListener(ConfigurationChangeListener<DebugTargetCfg> listener)
Deregister an existing Debug Target configuration change listener.
|
dn, name
Class<? extends DebugTargetCfg> configurationClass()
configurationClass
in interface Configuration
void addChangeListener(ConfigurationChangeListener<DebugTargetCfg> listener)
listener
- The Debug Target configuration change listener.void removeChangeListener(ConfigurationChangeListener<DebugTargetCfg> listener)
listener
- The Debug Target configuration change listener.boolean isDebugExceptionsOnly()
Indicates whether only logs with exception should be logged.
String getDebugScope()
Specifies the fully-qualified OpenDJ Java package, class, or method affected by the settings in this target definition. Use the number character (#) to separate the class name and the method name (that is, org.opends.server.core.DirectoryServer#startUp).
boolean isEnabled()
Indicates whether the Debug Target is enabled.
boolean isIncludeThrowableCause()
Specifies the property to indicate whether to include the cause of exceptions in exception thrown and caught messages.
boolean isOmitMethodEntryArguments()
Specifies the property to indicate whether to include method arguments in debug messages.
boolean isOmitMethodReturnValue()
Specifies the property to indicate whether to include the return value in debug messages.
int getThrowableStackFrames()
Specifies the property to indicate the number of stack frames to include in the stack trace for method entry and exception thrown messages.
Copyright 2010-2018 ForgeRock AS.