Class AbstractReportWriter

    • Field Detail

      • BASE_MESSAGES_BUNDLE

        protected static final Object BASE_MESSAGES_BUNDLE
      • CUSTOM_MESSAGES_BUNDLE

        protected static final Object CUSTOM_MESSAGES_BUNDLE
      • GMETRICS_URL

        protected static final Object GMETRICS_URL
      • LOG

        protected final Object LOG
      • customMessagesBundleName

        protected Object customMessagesBundleName
      • resourceBundle

        protected Object resourceBundle
      • formatterFactory

        protected Object formatterFactory
      • initializeResourceBundle

        protected Object initializeResourceBundle
      • getTimestamp

        protected Object getTimestamp
    • Constructor Detail

      • AbstractReportWriter

        public AbstractReportWriter()
    • Method Detail

      • getResourceBundleString

        protected String getResourceBundleString​(String resourceKey)
      • getMetaClass

        public groovy.lang.MetaClass getMetaClass()
        Specified by:
        getMetaClass in interface groovy.lang.GroovyObject
      • setMetaClass

        public void setMetaClass​(groovy.lang.MetaClass mc)
        Specified by:
        setMetaClass in interface groovy.lang.GroovyObject
      • invokeMethod

        public Object invokeMethod​(String method,
                                   Object arguments)
        Specified by:
        invokeMethod in interface groovy.lang.GroovyObject
      • getProperty

        public Object getProperty​(String property)
        Specified by:
        getProperty in interface groovy.lang.GroovyObject
      • setProperty

        public void setProperty​(String property,
                                Object value)
        Specified by:
        setProperty in interface groovy.lang.GroovyObject
      • getOutputFile

        public String getOutputFile()
      • setOutputFile

        public void setOutputFile​(String value)
      • getWriteToStandardOut

        public Object getWriteToStandardOut()
      • setWriteToStandardOut

        public void setWriteToStandardOut​(Object value)
      • initializeDefaultResourceBundle

        protected void initializeDefaultResourceBundle()
      • getResourceBundleString

        protected String getResourceBundleString​(String resourceKey,
                                                 String defaultString)
      • getResourceBundleStringOrNull

        protected String getResourceBundleStringOrNull​(String resourceKey)
      • initializeFormatters

        protected void initializeFormatters​(MetricSet metricSet)
      • formatMetricResultValue

        protected String formatMetricResultValue​(String metricName,
                                                 Object value)
      • getFormattedTimestamp

        protected String getFormattedTimestamp()