Class AbstractAnalysis<T>

    • Constructor Detail

      • AbstractAnalysis

        public AbstractAnalysis()
    • Method Detail

      • check

        protected void check​(T data)
        Hook method for checks.
        Parameters:
        data - the data to check
      • doAnalyze

        protected abstract String doAnalyze​(T data)
                                     throws Exception
        Performs the actual analysis.
        Parameters:
        data - the data to analyze
        Returns:
        null if successful, otherwise error message
        Throws:
        Exception - if analysis fails
      • analyze

        public String analyze​(T data)
        Performs the data analysis.
        Parameters:
        data - the data to analyze
        Returns:
        null if successful, otherwise error message