@KFStep(name="Loader", category="DataSources", toolTipText="Weka loader wrapper", iconPath="") public class Loader extends WekaAlgorithmWrapper implements Serializable
weka.core.converters.Loaders.| Constructor and Description |
|---|
Loader() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCustomEditorForStep()
Return the fully qualified name of a custom editor component (JComponent)
to use for editing the properties of the step.
|
List<String> |
getIncomingConnectionTypes()
Get a list of incoming connection types that this step can accept.
|
Loader |
getLoader()
Convenience method - calls
getWrappedAlgorithm() |
List<String> |
getOutgoingConnectionTypes()
Get a list of outgoing connection types that this step can produce.
|
Class |
getWrappedAlgorithmClass()
Get the class of the wrapped algorithm
|
Instances |
outputStructureForConnectionType(String connectionName)
If possible, get the output structure for the named connection type as a
header-only set of instances.
|
void |
setLoader(Loader loader)
Convenience method - calls
setWrappedAlgorithm() |
void |
setWrappedAlgorithm(Object algo)
Set the wrapped algorithm to use
|
void |
start()
Start executing
|
void |
stepInit()
Initialize the step.
|
getDefaultIconPath, getDefaultPackageLevelIconPath, getIconPath, getWrappedAlgorithm, globalInfoenvironmentSubstitute, getDefaultSettings, getInteractiveViewers, getInteractiveViewersImpls, getName, getStepManager, isResourceIntensive, isStopRequested, processIncoming, setName, setStepIsResourceIntensive, setStepManager, stoppublic Class getWrappedAlgorithmClass()
getWrappedAlgorithmClass in class WekaAlgorithmWrapperpublic void setWrappedAlgorithm(Object algo)
setWrappedAlgorithm in class WekaAlgorithmWrapperalgo - the algorithm to usepublic Loader getLoader()
getWrappedAlgorithm()@ProgrammaticProperty public void setLoader(Loader loader)
setWrappedAlgorithm()loader - the loader to usepublic void stepInit()
throws WekaException
stepInit in interface BaseStepExtenderstepInit in interface StepWekaException - if a problem occurs during initializationpublic void start()
throws WekaException
start in interface BaseStepExtenderstart in interface Stepstart in class BaseStepWekaException - if a problem occurspublic Instances outputStructureForConnectionType(String connectionName) throws WekaException
outputStructureForConnectionType in interface StepoutputStructureForConnectionType in class BaseStepconnectionName - the name of the connection type to get the output
structure forWekaException - if a problem occurspublic List<String> getIncomingConnectionTypes()
getIncomingConnectionTypes in interface BaseStepExtendergetIncomingConnectionTypes in interface Steppublic List<String> getOutgoingConnectionTypes()
getOutgoingConnectionTypes in interface BaseStepExtendergetOutgoingConnectionTypes in interface Steppublic String getCustomEditorForStep()
getCustomEditorForStep in interface StepgetCustomEditorForStep in class BaseStepCopyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.