Class AbstractBinPostProcessing

    • Constructor Detail

      • AbstractBinPostProcessing

        public AbstractBinPostProcessing()
    • Method Detail

      • getQuickInfo

        public String getQuickInfo()
        Returns a quick info about the object, which can be displayed in the GUI.
        Default implementation returns null.
        Specified by:
        getQuickInfo in interface QuickInfoSupporter
        Returns:
        null if no info available, otherwise short string
      • check

        protected <T> String check​(List<Bin<T>> bins)
        Hook method for performing checks before post-processing.
        Parameters:
        bins - the bins to check
        Returns:
        null if successful, otherwise error message
      • doPostProcessBins

        protected abstract <T> List<Bin<T>> doPostProcessBins​(List<Bin<T>> bins)
        Post-processes the bins.
        Parameters:
        bins - the bins to post-process
        Returns:
        the updated bins
        Throws:
        IllegalStateException - if post-processing failed