Class DebugTargetCfgDefn

    • Method Detail

      • getInstance

        public static DebugTargetCfgDefn getInstance()
        Get the Debug Target configuration definition singleton.
        Returns:
        Returns the Debug Target configuration definition singleton.
      • getDebugExceptionsOnlyPropertyDefinition

        public BooleanPropertyDefinition getDebugExceptionsOnlyPropertyDefinition()
        Get the "debug-exceptions-only" property definition.

        Indicates whether only logs with exception should be logged.

        Returns:
        Returns the "debug-exceptions-only" property definition.
      • getDebugScopePropertyDefinition

        public StringPropertyDefinition getDebugScopePropertyDefinition()
        Get the "debug-scope" property definition.

        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).

        Returns:
        Returns the "debug-scope" property definition.
      • getEnabledPropertyDefinition

        public BooleanPropertyDefinition getEnabledPropertyDefinition()
        Get the "enabled" property definition.

        Indicates whether the Debug Target is enabled.

        Returns:
        Returns the "enabled" property definition.
      • getIncludeThrowableCausePropertyDefinition

        public BooleanPropertyDefinition getIncludeThrowableCausePropertyDefinition()
        Get the "include-throwable-cause" property definition.

        Specifies the property to indicate whether to include the cause of exceptions in exception thrown and caught messages.

        Returns:
        Returns the "include-throwable-cause" property definition.
      • getOmitMethodEntryArgumentsPropertyDefinition

        public BooleanPropertyDefinition getOmitMethodEntryArgumentsPropertyDefinition()
        Get the "omit-method-entry-arguments" property definition.

        Specifies the property to indicate whether to include method arguments in debug messages.

        Returns:
        Returns the "omit-method-entry-arguments" property definition.
      • getOmitMethodReturnValuePropertyDefinition

        public BooleanPropertyDefinition getOmitMethodReturnValuePropertyDefinition()
        Get the "omit-method-return-value" property definition.

        Specifies the property to indicate whether to include the return value in debug messages.

        Returns:
        Returns the "omit-method-return-value" property definition.
      • getThrowableStackFramesPropertyDefinition

        public IntegerPropertyDefinition getThrowableStackFramesPropertyDefinition()
        Get the "throwable-stack-frames" property definition.

        Specifies the property to indicate the number of stack frames to include in the stack trace for method entry and exception thrown messages.

        Returns:
        Returns the "throwable-stack-frames" property definition.