Class AbstractReportPostProcessor<T extends Report>

    • Field Detail

      • m_Owner

        protected Actor m_Owner
        the owning actor.
    • Constructor Detail

      • AbstractReportPostProcessor

        public AbstractReportPostProcessor()
    • 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 post-process.

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

        protected abstract T doPostProcess​(T data)
        Performs the actual post-processing.
        Parameters:
        data - the data to process
        Returns:
        the processed data
      • postProcess

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