Interface FileCountLogRetentionPolicyCfgClient

    • Method Detail

      • getJavaClass

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

        Specifies the fully-qualified name of the Java class that provides the File Count Log Retention Policy implementation.

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

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

        Specifies the fully-qualified name of the Java class that provides the File Count Log Retention Policy implementation.

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

        Integer getNumberOfFiles()
        Gets the "number-of-files" property.

        Specifies the number of archived log files to retain before the oldest ones are cleaned.

        Returns:
        Returns the value of the "number-of-files" property.
      • setNumberOfFiles

        void setNumberOfFiles​(int value)
                       throws PropertyException
        Sets the "number-of-files" property.

        Specifies the number of archived log files to retain before the oldest ones are cleaned.

        Parameters:
        value - The value of the "number-of-files" property.
        Throws:
        PropertyException - If the new value is invalid.