Class InstallFromFile

  • All Implemented Interfaces:
    adams.core.Destroyable, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.QuickInfoSupporter, adams.core.SizeOfHandler, adams.flow.core.FlowContextHandler, Serializable

    public class InstallFromFile
    extends AbstractWekaPackageManagerAction
    Action that installs packages from files.
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • InstallFromFile

        public InstallFromFile()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the object.
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class adams.core.option.AbstractOptionHandler
        Returns:
        a description suitable for displaying in the gui
      • doExecute

        public Object doExecute​(Object input,
                                adams.core.MessageCollection errors)
        Executes the action.
        Specified by:
        doExecute in class AbstractWekaPackageManagerAction
        Parameters:
        input - the input to process
        errors - for collecting errors
        Returns:
        the generated output, null if failed to generated