Class InstallFromURL
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.flow.transformer.wekapackagemanageraction.AbstractWekaPackageManagerAction
-
- adams.flow.transformer.wekapackagemanageraction.InstallFromURL
-
- All Implemented Interfaces:
Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,QuickInfoSupporter
,SizeOfHandler
,FlowContextHandler
,Serializable
public class InstallFromURL extends AbstractWekaPackageManagerAction
Action that installs packages from URLs.- 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
-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description InstallFromURL()
-
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, 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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceGlobalInfoSupporter
- Specified by:
globalInfo
in classAbstractOptionHandler
- 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, 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
-
-