Class AbstractFileBasedDatasetGeneration<T>

    • Constructor Detail

      • AbstractFileBasedDatasetGeneration

        public AbstractFileBasedDatasetGeneration()
    • 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
      • generates

        public abstract Class generates()
        Returns the class that gets generated.
        Returns:
        the generated class
      • requiredValues

        protected abstract String[] requiredValues()
        The keys of the values that need to be present in the container.
        Returns:
        the keys
      • check

        protected String check​(FileBasedDatasetContainer cont)
        Performs checks on the container.
        Parameters:
        cont - the container to check
        Returns:
        null if successful, otherwise error message
      • doGenerate

        protected abstract T doGenerate​(FileBasedDatasetContainer cont)
        Generates the dataset.
        Parameters:
        cont - the container to use
        Returns:
        the generated output
      • generate

        public T generate​(FileBasedDatasetContainer cont)
        Generates the dataset.
        Parameters:
        cont - the container to use
        Returns:
        the generated output