@KFStep(name="Saver", category="DataSinks", toolTipText="Weka saver wrapper", iconPath="") public class Saver extends WekaAlgorithmWrapper implements java.io.Serializable
Constructor and Description |
---|
Saver() |
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 receive at this
time
|
java.util.List<java.lang.String> |
getOutgoingConnectionTypes()
Get a list of outgoing connection types that this step can produce at this
time
|
boolean |
getRelationNameForFilename()
Get whether the relation name is the primary part of the filename.
|
Saver |
getSaver()
Get the saver instance that is wrapped by this step.
|
java.lang.Class |
getWrappedAlgorithmClass()
Get the class of the wrapped algorithm
|
void |
processIncoming(Data data)
Processes incoming data
|
void |
setRelationNameForFilename(boolean r)
Set whether to use the relation name as the primary part of the filename.
|
void |
setSaver(Saver saver)
Set the saver instance that is wrapped by this step.
|
void |
setWrappedAlgorithm(java.lang.Object algo)
Set the actual wrapped algorithm instance
|
void |
stepInit()
Initialize the step
|
getDefaultIconPath, getDefaultPackageLevelIconPath, getIconPath, getWrappedAlgorithm, globalInfo
environmentSubstitute, getDefaultSettings, getInteractiveViewers, getInteractiveViewersImpls, getName, getStepManager, isResourceIntensive, isStopRequested, outputStructureForConnectionType, outputStructureForConnectionType, setName, setStepIsResourceIntensive, setStepManager, setStepMustRunSingleThreaded, start, stepMustRunSingleThreaded, stop
public java.lang.Class getWrappedAlgorithmClass()
getWrappedAlgorithmClass
in class WekaAlgorithmWrapper
public void setWrappedAlgorithm(java.lang.Object algo)
setWrappedAlgorithm
in class WekaAlgorithmWrapper
algo
- the wrapped algorithm instancepublic Saver getSaver()
getWrappedAlgorithm()
@ProgrammaticProperty public void setSaver(Saver saver)
setWrappedAlgorithm()
.saver
- the saver instance that is wrapped by this steppublic boolean getRelationNameForFilename()
public void setRelationNameForFilename(boolean r)
r
- true if the relation name is to be part of the filename.public void stepInit() throws WekaException
stepInit
in interface BaseStepExtender
stepInit
in interface Step
WekaException
- if a problem occurs during initializationpublic void processIncoming(Data data) throws WekaException
processIncoming
in interface BaseStepExtender
processIncoming
in interface Step
processIncoming
in class BaseStep
data
- the data processWekaException
- 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