Class AbstractListGenerator

    • Constructor Detail

      • AbstractListGenerator

        public AbstractListGenerator()
    • 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 void check()
                      throws Exception
        Hook method for checks.

        Default implementation does nothing.
        Throws:
        Exception - if check fails
      • doGenerate

        protected abstract List<String> doGenerate()
                                            throws Exception
        Generates the actual list.
        Returns:
        the list of elements
        Throws:
        Exception - if generation fails
      • generate

        public List<String> generate()
                              throws Exception
        Generates the list.
        Returns:
        the list of elements
        Throws:
        Exception - if check or generation fails