@KFStep(name="Loader", category="DataSources", toolTipText="Weka loader wrapper", iconPath="") public class Loader extends WekaAlgorithmWrapper implements java.io.Serializable
weka.core.converters.Loader
s.Constructor and Description |
---|
Loader() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCustomEditorForStep()
Return the fully qualified name of a custom editor component (JComponent)
to use for editing the properties of the step.
|
java.util.List<java.lang.String> |
getIncomingConnectionTypes()
Get a list of incoming connection types that this step can accept.
|
Loader |
getLoader()
Convenience method - calls
getWrappedAlgorithm() |
java.util.List<java.lang.String> |
getOutgoingConnectionTypes()
Get a list of outgoing connection types that this step can produce.
|
java.lang.Class |
getWrappedAlgorithmClass()
Get the class of the wrapped algorithm
|
Instances |
outputStructureForConnectionType(java.lang.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(java.lang.Object algo)
Set the wrapped algorithm to use
|
void |
start()
Start executing
|
void |
stepInit()
Initialize the step.
|
getDefaultIconPath, getDefaultPackageLevelIconPath, getIconPath, getWrappedAlgorithm, globalInfo
environmentSubstitute, getDefaultSettings, getInteractiveViewers, getInteractiveViewersImpls, getName, getStepManager, isResourceIntensive, isStopRequested, processIncoming, setName, setStepIsResourceIntensive, setStepManager, stop
public java.lang.Class getWrappedAlgorithmClass()
getWrappedAlgorithmClass
in class WekaAlgorithmWrapper
public void setWrappedAlgorithm(java.lang.Object algo)
setWrappedAlgorithm
in class WekaAlgorithmWrapper
algo
- 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 BaseStepExtender
stepInit
in interface Step
WekaException
- if a problem occurs during initializationpublic void start() throws WekaException
start
in interface BaseStepExtender
start
in interface Step
start
in class BaseStep
WekaException
- if a problem occurspublic Instances outputStructureForConnectionType(java.lang.String connectionName) throws WekaException
outputStructureForConnectionType
in interface Step
outputStructureForConnectionType
in class BaseStep
connectionName
- the name of the connection type to get the output
structure forWekaException
- if a problem occurspublic java.util.List<java.lang.String> getIncomingConnectionTypes()
getIncomingConnectionTypes
in interface BaseStepExtender
getIncomingConnectionTypes
in interface Step
public java.util.List<java.lang.String> getOutgoingConnectionTypes()
getOutgoingConnectionTypes
in interface BaseStepExtender
getOutgoingConnectionTypes
in interface Step
public java.lang.String getCustomEditorForStep()
getCustomEditorForStep
in interface Step
getCustomEditorForStep
in class BaseStep