Class AbstractBaselineCorrection.BaselineCorrectionJob<T extends DataContainer>

    • Field Detail

      • m_Data

        protected T extends DataContainer m_Data
        the data to push through the baseline correction scheme.
      • m_CorrectedData

        protected T extends DataContainer m_CorrectedData
        the corrected data.
    • Constructor Detail

      • BaselineCorrectionJob

        public BaselineCorrectionJob​(AbstractBaselineCorrection baseline,
                                     T data)
        Initializes the job.
        baseline - the baseline correction scheme to use for correcting
        data - the data to pass through the baseline correction scheme
    • Method Detail

      • getBaselineCorretion

        public AbstractBaselineCorrection getBaselineCorretion()
        Returns the baseline correction scheme being used.
        the baseline correction scheme in use
      • getData

        public T getData()
        The input data.
        the input data
      • getCorrectedData

        public T getCorrectedData()
        The output data, if any.
        the output data, or null in case of an error
      • preProcessCheck

        protected String preProcessCheck()
        Checks whether all pre-conditions have been met.
        Specified by:
        preProcessCheck in class AbstractJob
        null if everything is OK, otherwise an error message
      • process

        protected void process()
                        throws Exception
        Does the actual execution of the job.
        Specified by:
        process in class AbstractJob
        Exception - if fails to execute job
      • postProcessCheck

        protected String postProcessCheck()
        Checks whether all post-conditions have been met.
        Specified by:
        postProcessCheck in class AbstractJob
        null if everything is OK, otherwise an error message
      • getAdditionalErrorInformation

        protected String getAdditionalErrorInformation()
        Returns additional information to be added to the error message.
        getAdditionalErrorInformation in class AbstractJob
        the additional information
      • toString

        public String toString()
        Returns a string representation of the job.
        Specified by:
        toString in class AbstractJob
        a string representation