Class Tool

    • Constructor Detail

      • Tool

        public Tool()
    • Method Detail

      • setTool

        public void setTool​(AbstractTool value)
        Sets the tool to use.
        Parameters:
        value - the tool
      • getTool

        public AbstractTool getTool()
        Returns the tool in use.
        Returns:
        the tool
      • toolTipText

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

        protected AbstractDatabaseConnection getDefaultDatabaseConnection()
        Returns the default database connection.
        Returns:
        the default database connection
      • getDatabaseConnection

        protected AbstractDatabaseConnection getDatabaseConnection()
        Determines the database connection in the flow.
        Returns:
        the database connection to use
      • accepts

        public Class[] accepts()
        Returns the class that the consumer accepts.
        Specified by:
        accepts in interface InputConsumer
        Returns:
        the Class of objects that can be processed
      • updateDatabaseConnection

        protected void updateDatabaseConnection()
        Updates the database connection.
      • doExecute

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

        public Class[] generates()
        Returns the class of objects that it generates.
        Specified by:
        generates in interface OutputProducer
        Returns:
        the Class of the generated tokens