Interface WebThreshold

    • Method Detail

      • getFormat

        WebFormat getFormat()
        Returns the WebFormat object associated with the threshold, which can be used to modify the format associated with the threshold.
        Returns:
        A WebFormat object representing the threshold's format.
      • isEnabled

        boolean isEnabled()
        Returns whether the threshold is enabled or not.
        Returns:
        True if the threshold is enabled, false otherwise.
      • setEnabled

        void setEnabled​(boolean enable)
        Sets the enabled flag of the threshold.
        Parameters:
        enable - True if the threshold should be enabled, false otherwise.
      • getExpression

        WebExpression getExpression()
        Returns the WebExpression associated with the threshold. This is the expression that determines when the threshold condition will be applied.
        Returns:
        The WebExpression object representing the threshold's condition.
      • setName

        void setName​(java.lang.String newName)
        Sets the name of the threshold.
        Parameters:
        newName - The new name to use for the threshold.
      • getName

        java.lang.String getName()
        Returns the name of the threshold.
        Returns:
        The current name of the threshold.
      • getId

        java.lang.String getId()
        Returns the ID of the threshold.
        Returns:
        The ID of the threshold.
      • getFloor

        double getFloor()
        The value of the lower end of the threshold expression if the threshold corresponds to a non-complex (@link EnumThresholdTypes#TYPE_COMPLEX) type If the threshold type is complex, then -1 is returned
      • getCeiling

        double getCeiling()
        The value of the upper end of the threshold expression if the threshold corresponds to a non-complex (@link EnumThresholdTypes#TYPE_COMPLEX) type If the threshold type is complex, then -1 is returned
      • getReplaceText

        java.lang.String getReplaceText()
        Returns the text used to replace the actual value iff threshold condition is met.
        Returns:
        The replace text used if the threshold condition is met.
      • setThresholdAction

        void setThresholdAction​(java.lang.String action)
        Parameters:
        newAction - sets action EnumDSSXMLTransactionAction
      • isTransaction

        boolean isTransaction()
        Returns:
        whether this threshold is transaction threshold