Interface AlertHandlerCfgClient

    • Method Detail

      • getDisabledAlertType

        SortedSet<String> getDisabledAlertType()
        Gets the "disabled-alert-type" property.

        Specifies the names of the alert types that are disabled for this alert handler.

        If there are any values for this attribute, then no alerts with any of the specified types are allowed. If there are no values for this attribute, then only alerts with a type included in the set of enabled alert types are allowed, or if there are no values for the enabled alert types option, then all alert types are allowed.

        Returns:
        Returns the values of the "disabled-alert-type" property.
      • setDisabledAlertType

        void setDisabledAlertType​(Collection<String> values)
                           throws PropertyException
        Sets the "disabled-alert-type" property.

        Specifies the names of the alert types that are disabled for this alert handler.

        If there are any values for this attribute, then no alerts with any of the specified types are allowed. If there are no values for this attribute, then only alerts with a type included in the set of enabled alert types are allowed, or if there are no values for the enabled alert types option, then all alert types are allowed.

        Parameters:
        values - The values of the "disabled-alert-type" property.
        Throws:
        PropertyException - If one or more of the new values are invalid.
      • isEnabled

        Boolean isEnabled()
        Gets the "enabled" property.

        Indicates whether the Alert Handler is enabled.

        Returns:
        Returns the value of the "enabled" property.
      • setEnabled

        void setEnabled​(boolean value)
                 throws PropertyException
        Sets the "enabled" property.

        Indicates whether the Alert Handler is enabled.

        Parameters:
        value - The value of the "enabled" property.
        Throws:
        PropertyException - If the new value is invalid.
      • getEnabledAlertType

        SortedSet<String> getEnabledAlertType()
        Gets the "enabled-alert-type" property.

        Specifies the names of the alert types that are enabled for this alert handler.

        If there are any values for this attribute, then only alerts with one of the specified types are allowed (unless they are also included in the disabled alert types). If there are no values for this attribute, then any alert with a type not included in the list of disabled alert types is allowed.

        Returns:
        Returns the values of the "enabled-alert-type" property.
      • setEnabledAlertType

        void setEnabledAlertType​(Collection<String> values)
                          throws PropertyException
        Sets the "enabled-alert-type" property.

        Specifies the names of the alert types that are enabled for this alert handler.

        If there are any values for this attribute, then only alerts with one of the specified types are allowed (unless they are also included in the disabled alert types). If there are no values for this attribute, then any alert with a type not included in the list of disabled alert types is allowed.

        Parameters:
        values - The values of the "enabled-alert-type" property.
        Throws:
        PropertyException - If one or more of the new values are invalid.
      • getJavaClass

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

        Specifies the fully-qualified name of the Java class that provides the Alert Handler implementation.

        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 Alert Handler implementation.

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