public interface DebugTargetCfgClient extends ConfigurationClient
Debug Targets define the types of messages logged by the debug logPublisher.
Modifier and Type | Method and Description |
---|---|
ManagedObjectDefinition<? extends DebugTargetCfgClient,? extends DebugTargetCfg> |
definition()
Get the configuration definition 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 |
setDebugExceptionsOnly(Boolean value)
Sets the "debug-exceptions-only" property.
|
void |
setDebugScope(String value)
Sets the "debug-scope" property.
|
void |
setEnabled(boolean value)
Sets the "enabled" property.
|
void |
setIncludeThrowableCause(Boolean value)
Sets the "include-throwable-cause" property.
|
void |
setOmitMethodEntryArguments(Boolean value)
Sets the "omit-method-entry-arguments" property.
|
void |
setOmitMethodReturnValue(Boolean value)
Sets the "omit-method-return-value" property.
|
void |
setThrowableStackFrames(Integer value)
Sets the "throwable-stack-frames" property.
|
commit, properties
ManagedObjectDefinition<? extends DebugTargetCfgClient,? extends DebugTargetCfg> definition()
definition
in interface ConfigurationClient
boolean isDebugExceptionsOnly()
Indicates whether only logs with exception should be logged.
void setDebugExceptionsOnly(Boolean value) throws PropertyException
Indicates whether only logs with exception should be logged.
value
- The value of the "debug-exceptions-only" property.PropertyException
- If the new value is invalid.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).
void setDebugScope(String value) throws PropertyException, PropertyException
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).
This property is read-only and can only be modified during creation of a Debug Target.
value
- The value of the "debug-scope" property.PropertyException
- If the new value is invalid.PropertyException
- If this Debug Target is not being initialized.Boolean isEnabled()
Indicates whether the Debug Target is enabled.
void setEnabled(boolean value) throws PropertyException
Indicates whether the Debug Target is enabled.
value
- The value of the "enabled" property.PropertyException
- If the new value is invalid.boolean isIncludeThrowableCause()
Specifies the property to indicate whether to include the cause of exceptions in exception thrown and caught messages.
void setIncludeThrowableCause(Boolean value) throws PropertyException
Specifies the property to indicate whether to include the cause of exceptions in exception thrown and caught messages.
value
- The value of the "include-throwable-cause" property.PropertyException
- If the new value is invalid.boolean isOmitMethodEntryArguments()
Specifies the property to indicate whether to include method arguments in debug messages.
void setOmitMethodEntryArguments(Boolean value) throws PropertyException
Specifies the property to indicate whether to include method arguments in debug messages.
value
- The value of the "omit-method-entry-arguments" property.PropertyException
- If the new value is invalid.boolean isOmitMethodReturnValue()
Specifies the property to indicate whether to include the return value in debug messages.
void setOmitMethodReturnValue(Boolean value) throws PropertyException
Specifies the property to indicate whether to include the return value in debug messages.
value
- The value of the "omit-method-return-value" property.PropertyException
- If the new value is invalid.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.
void setThrowableStackFrames(Integer value) throws PropertyException
Specifies the property to indicate the number of stack frames to include in the stack trace for method entry and exception thrown messages.
value
- The value of the "throwable-stack-frames" property.PropertyException
- If the new value is invalid.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.