Class InstallPackage
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.flow.transformer.wekapackagemanageraction.AbstractWekaPackageManagerAction
-
- adams.flow.transformer.wekapackagemanageraction.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
-
-
Field Summary
-
Fields inherited from class adams.flow.transformer.wekapackagemanageraction.AbstractWekaPackageManagerAction
m_FlowContext
-
-
Constructor Summary
Constructors Constructor Description InstallPackage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class[]
accepts()
The types of data the action accepts.Object
doExecute(Object input, adams.core.MessageCollection errors)
Executes the action.Class[]
generates()
The types of data the action generates.String
globalInfo()
Returns a string describing the object.-
Methods inherited from class adams.flow.transformer.wekapackagemanageraction.AbstractWekaPackageManagerAction
check, execute, getFlowContext, getQuickInfo, setFlowContext, unhandledInputType
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, defineOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceadams.core.GlobalInfoSupporter
- Specified by:
globalInfo
in classadams.core.option.AbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
accepts
public Class[] accepts()
The types of data the action accepts.- Specified by:
accepts
in classAbstractWekaPackageManagerAction
- Returns:
- the input types
-
generates
public Class[] generates()
The types of data the action generates.- Specified by:
generates
in classAbstractWekaPackageManagerAction
- Returns:
- the output types
-
doExecute
public Object doExecute(Object input, adams.core.MessageCollection errors)
Executes the action.- Specified by:
doExecute
in classAbstractWekaPackageManagerAction
- Parameters:
input
- the input to processerrors
- for collecting errors- Returns:
- the generated output, null if failed to generated
-
-