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.
|
ValueOrExpression<String> |
getDebugScope()
Gets the "debug-scope" property.
|
ValueOrExpression<Integer> |
getThrowableStackFrames()
Gets the "throwable-stack-frames" property.
|
ValueOrExpression<Boolean> |
isDebugExceptionsOnly()
Gets the "debug-exceptions-only" property.
|
ValueOrExpression<Boolean> |
isEnabled()
Gets the "enabled" property.
|
ValueOrExpression<Boolean> |
isIncludeThrowableCause()
Gets the "include-throwable-cause" property.
|
ValueOrExpression<Boolean> |
isOmitMethodEntryArguments()
Gets the "omit-method-entry-arguments" property.
|
ValueOrExpression<Boolean> |
isOmitMethodReturnValue()
Gets the "omit-method-return-value" property.
|
void |
setDebugExceptionsOnly(ValueOrExpression<Boolean> value)
Sets the "debug-exceptions-only" property.
|
void |
setDebugScope(ValueOrExpression<String> value)
Sets the "debug-scope" property.
|
void |
setEnabled(ValueOrExpression<Boolean> value)
Sets the "enabled" property.
|
void |
setIncludeThrowableCause(ValueOrExpression<Boolean> value)
Sets the "include-throwable-cause" property.
|
void |
setOmitMethodEntryArguments(ValueOrExpression<Boolean> value)
Sets the "omit-method-entry-arguments" property.
|
void |
setOmitMethodReturnValue(ValueOrExpression<Boolean> value)
Sets the "omit-method-return-value" property.
|
void |
setThrowableStackFrames(ValueOrExpression<Integer> value)
Sets the "throwable-stack-frames" property.
|
commit, properties
ManagedObjectDefinition<? extends DebugTargetCfgClient,? extends DebugTargetCfg> definition()
definition
in interface ConfigurationClient
ValueOrExpression<Boolean> isDebugExceptionsOnly()
Indicates whether only logs with exception should be logged.
void setDebugExceptionsOnly(ValueOrExpression<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.ValueOrExpression<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(ValueOrExpression<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.ValueOrExpression<Boolean> isEnabled()
Indicates whether the Debug Target is enabled.
void setEnabled(ValueOrExpression<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.ValueOrExpression<Boolean> isIncludeThrowableCause()
Specifies the property to indicate whether to include the cause of exceptions in exception thrown and caught messages.
void setIncludeThrowableCause(ValueOrExpression<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.ValueOrExpression<Boolean> isOmitMethodEntryArguments()
Specifies the property to indicate whether to include method arguments in debug messages.
void setOmitMethodEntryArguments(ValueOrExpression<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.ValueOrExpression<Boolean> isOmitMethodReturnValue()
Specifies the property to indicate whether to include the return value in debug messages.
void setOmitMethodReturnValue(ValueOrExpression<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.ValueOrExpression<Integer> 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(ValueOrExpression<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-2018 ForgeRock AS.