Class InstallPackage

  • 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 InstallPackage
    extends AbstractWekaPackageManagerAction
    Action that installs the incoming package.
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • InstallPackage

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