Interface DebugLogPublisherCfgClient

    • Method Detail

      • isDefaultDebugExceptionsOnly

        boolean isDefaultDebugExceptionsOnly()
        Gets the "default-debug-exceptions-only" property.

        Indicates whether only logs with exception should be logged.

        Returns:
        Returns the value of the "default-debug-exceptions-only" property.
      • setDefaultDebugExceptionsOnly

        void setDefaultDebugExceptionsOnly​(Boolean value)
                                    throws PropertyException
        Sets the "default-debug-exceptions-only" property.

        Indicates whether only logs with exception should be logged.

        Parameters:
        value - The value of the "default-debug-exceptions-only" property.
        Throws:
        PropertyException - If the new value is invalid.
      • isDefaultIncludeThrowableCause

        boolean isDefaultIncludeThrowableCause()
        Gets the "default-include-throwable-cause" property.

        Indicates whether to include the cause of exceptions in exception thrown and caught messages logged by default.

        Returns:
        Returns the value of the "default-include-throwable-cause" property.
      • setDefaultIncludeThrowableCause

        void setDefaultIncludeThrowableCause​(Boolean value)
                                      throws PropertyException
        Sets the "default-include-throwable-cause" property.

        Indicates whether to include the cause of exceptions in exception thrown and caught messages logged by default.

        Parameters:
        value - The value of the "default-include-throwable-cause" property.
        Throws:
        PropertyException - If the new value is invalid.
      • isDefaultOmitMethodEntryArguments

        boolean isDefaultOmitMethodEntryArguments()
        Gets the "default-omit-method-entry-arguments" property.

        Indicates whether to include method arguments in debug messages logged by default.

        Returns:
        Returns the value of the "default-omit-method-entry-arguments" property.
      • setDefaultOmitMethodEntryArguments

        void setDefaultOmitMethodEntryArguments​(Boolean value)
                                         throws PropertyException
        Sets the "default-omit-method-entry-arguments" property.

        Indicates whether to include method arguments in debug messages logged by default.

        Parameters:
        value - The value of the "default-omit-method-entry-arguments" property.
        Throws:
        PropertyException - If the new value is invalid.
      • isDefaultOmitMethodReturnValue

        boolean isDefaultOmitMethodReturnValue()
        Gets the "default-omit-method-return-value" property.

        Indicates whether to include the return value in debug messages logged by default.

        Returns:
        Returns the value of the "default-omit-method-return-value" property.
      • setDefaultOmitMethodReturnValue

        void setDefaultOmitMethodReturnValue​(Boolean value)
                                      throws PropertyException
        Sets the "default-omit-method-return-value" property.

        Indicates whether to include the return value in debug messages logged by default.

        Parameters:
        value - The value of the "default-omit-method-return-value" property.
        Throws:
        PropertyException - If the new value is invalid.
      • getDefaultThrowableStackFrames

        int getDefaultThrowableStackFrames()
        Gets the "default-throwable-stack-frames" property.

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

        Returns:
        Returns the value of the "default-throwable-stack-frames" property.
      • setDefaultThrowableStackFrames

        void setDefaultThrowableStackFrames​(Integer value)
                                     throws PropertyException
        Sets the "default-throwable-stack-frames" property.

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

        Parameters:
        value - The value of the "default-throwable-stack-frames" property.
        Throws:
        PropertyException - If the new value is invalid.
      • getJavaClass

        String getJavaClass()
        Gets the "java-class" property.

        The fully-qualified name of the Java class that provides the Debug Log Publisher implementation.

        Specified by:
        getJavaClass in interface LogPublisherCfgClient
        Returns:
        Returns the value of the "java-class" property.
      • setJavaClass

        void setJavaClass​(String value)
                   throws PropertyException
        Sets the "java-class" property.

        The fully-qualified name of the Java class that provides the Debug Log Publisher implementation.

        Specified by:
        setJavaClass in interface LogPublisherCfgClient
        Parameters:
        value - The value of the "java-class" property.
        Throws:
        PropertyException - If the new value is invalid.
      • listDebugTargets

        String[] listDebugTargets()
                           throws ConcurrentModificationException,
                                  org.forgerock.opendj.ldap.LdapException
        Lists the Debug Targets.
        Returns:
        Returns an array containing the names of the Debug Targets.
        Throws:
        ConcurrentModificationException - If this Debug Log Publisher has been removed from the server by another client.
        org.forgerock.opendj.ldap.LdapException - If any other error occurs.