Class AbstractReportPreProcessor<T extends Report>

    • Field Detail

      • m_Owner

        protected Actor m_Owner
        the owning actor.
    • Constructor Detail

      • AbstractReportPreProcessor

        public AbstractReportPreProcessor()
    • Method Detail

      • setOwner

        public void setOwner​(Actor value)
        Sets the owner for this preprocessor.
        Parameters:
        value - the owning actor
      • getOwner

        public Actor getOwner()
        Returns the current owner of this preprocessor.
        Returns:
        the owning actor, null if not available
      • check

        protected void check​(T data)
        Checks the data to pre-process.

        Default implementation only checks whether data is present.
        Parameters:
        data - the data to check
      • doPreProcess

        protected abstract T doPreProcess​(T data)
        Performs the actual pre-processing.
        Parameters:
        data - the data to process
        Returns:
        the processed data
      • preProcess

        public T preProcess​(T data)
        Pre-processes the data.
        Parameters:
        data - the data to post-process
        Returns:
        the processed data