Class AdvancedThresholdsEditorTransform

    • Field Detail

      • thresholdWidth

        public FormalParameter thresholdWidth
        Indicates the width property of threshold expression div.
    • Constructor Detail

      • AdvancedThresholdsEditorTransform

        public AdvancedThresholdsEditorTransform()
    • Method Detail

      • getSupportedBeanType

        public java.lang.Class getSupportedBeanType()
        Description copied from class: AbstractAppTransform
        Returns the supported bean type. This abstract Transform supports all WebComponents so every sub-class should override this method to return the class of the Bean the Transform is expecting, for example:
         public class CustomReportClass extends AbstractAppTransform {
        
            public Class getSupportedBeanType() {
                //This Transform is expected to work only with a ReportBean,
                //therefore this method needs to return this class:
                return ReportBean.class;
            }
        
         }
         
        Specified by:
        getSupportedBeanType in interface Transform
        Overrides:
        getSupportedBeanType in class AbstractAppTransform
        Returns:
        a root class/interface supported by this transform.
      • renderThresholdExpressions

        public void renderThresholdExpressions​(MarkupOutput out)
        This method renders the threshold expressions for all metrics (view bean mode) or the current container.
        Parameters:
        out - MarkupOutput
      • renderAllowToggleThresholds

        public void renderAllowToggleThresholds​(MarkupOutput out)
      • filterEmptyThresholds

        protected void filterEmptyThresholds​(WebThresholds wts)
        This method filer out the threshold with empty expression
        Parameters:
        wts -
      • manipulateEmptyThreshold

        protected void manipulateEmptyThreshold​(WebThreshold wt,
                                                boolean isCurrentContainer)
        This method is stub here and will be overridden in AlertsEditorTransform
        Parameters:
        wt -
        isCurrentContainer -
      • shouldHideExpression

        protected boolean shouldHideExpression​(WebThreshold wt,
                                               boolean isCurrentContainer)
        This method is stub here and will be overridden in AlertsEditorTransform
        Parameters:
        wt -
        isCurrentContainer -
      • shouldAddConditionLink

        protected boolean shouldAddConditionLink​(WebThreshold wt)