Class AbstractInstanceGenerator<T extends DataContainer>

    • Constructor Detail

      • AbstractInstanceGenerator

        public AbstractInstanceGenerator()
    • Method Detail

      • getDefaultGenerator

        protected abstract AbstractInstanceGenerator getDefaultGenerator()
        Returns the default generator.
        Returns:
        the generator
      • setGenerator

        public void setGenerator​(AbstractInstanceGenerator value)
        Sets the generator to use.
        Parameters:
        value - the generator
      • generatorTipText

        public abstract String generatorTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • accepts

        public abstract Class[] accepts()
        Returns the class that the consumer accepts.
        Returns:
        the accepted data container
      • generates

        public Class[] generates()
        Returns the class of objects that it generates.
        Returns:
        weka.core.Instance.class
      • getDatabaseConnection

        protected abstract AbstractDatabaseConnection getDatabaseConnection()
        Returns the database connection to use.
        Returns:
        the database connection
      • setUp

        public String setUp()
        Initializes the item for flow execution. Also calls the reset() method first before anything else.
        Specified by:
        setUp in interface Actor
        Overrides:
        setUp in class AbstractActor
        Returns:
        null if everything is fine, otherwise error message
        See Also:
        AbstractActor.reset()
      • doExecute

        protected String doExecute()
        Executes the flow item.
        Specified by:
        doExecute in class AbstractActor
        Returns:
        null if everything is fine, otherwise error message