Class SampleDataReportFilter

  • All Implemented Interfaces:
    adams.core.Destroyable, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.ShallowCopySupporter, adams.core.SizeOfHandler, Serializable, Comparable

    public class SampleDataReportFilter
    extends adams.data.report.AbstractFilteredReportFilter
    Ensures that all important sample data values are kept when applying a report filter.

    Valid options are:

    -D <int> (property: debugLevel)
        The greater the number the more additional info the scheme may output to 
        the console (0 = off).
        default: 0
        minimum: 0
     
    -filter <adams.data.report.AbstractReportFilter> (property: filter)
        The filter to apply to the sample data.
        default: adams.data.report.PassThrough
     
    Version:
    $Revision: 2242 $
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class adams.data.report.AbstractFilteredReportFilter

        m_Filter
      • Fields inherited from class adams.core.option.AbstractOptionHandler

        m_OptionManager
      • Fields inherited from class adams.core.logging.LoggingObject

        m_Logger, m_LoggingIsEnabled, m_LoggingLevel
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String filterTipText()
      Returns the tip text for this property.
      protected adams.data.report.AbstractField[] getFields()
      Returns the fields to keep.
      String globalInfo()
      Returns a string describing the object.
      • Methods inherited from class adams.data.report.AbstractFilteredReportFilter

        defineOptions, getFilter, processData, setFilter
      • Methods inherited from class adams.data.report.AbstractReportFilter

        checkData, cleanUp, compareTo, equals, filter, forCommandLine, forName, getFilters, reset, shallowCopy, shallowCopy
      • Methods inherited from class adams.core.option.AbstractOptionHandler

        cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, setLoggingLevel, toCommandLine, toString
      • Methods inherited from class adams.core.logging.LoggingObject

        configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
      • Methods inherited from interface adams.core.logging.LoggingLevelHandler

        getLoggingLevel
    • Constructor Detail

      • SampleDataReportFilter

        public SampleDataReportFilter()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the object.
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class adams.data.report.AbstractFilteredReportFilter
        Returns:
        a description suitable for displaying in the gui
      • filterTipText

        public String filterTipText()
        Returns the tip text for this property.
        Specified by:
        filterTipText in class adams.data.report.AbstractFilteredReportFilter
        Returns:
        tip text for this property suitable for displaying in the gui
      • getFields

        protected adams.data.report.AbstractField[] getFields()
        Returns the fields to keep.
        Specified by:
        getFields in class adams.data.report.AbstractFilteredReportFilter