@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, globalInfoenvironmentSubstitute, getDefaultSettings, getInteractiveViewers, getInteractiveViewersImpls, getName, getStepManager, isResourceIntensive, isStopRequested, outputStructureForConnectionType, outputStructureForConnectionType, setName, setStepIsResourceIntensive, setStepManager, setStepMustRunSingleThreaded, start, stepMustRunSingleThreaded, stoppublic java.lang.Class getWrappedAlgorithmClass()
getWrappedAlgorithmClass in class WekaAlgorithmWrapperpublic void setWrappedAlgorithm(java.lang.Object algo)
setWrappedAlgorithm in class WekaAlgorithmWrapperalgo - 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 BaseStepExtenderstepInit in interface StepWekaException - if a problem occurs during initializationpublic void processIncoming(Data data) throws WekaException
processIncoming in interface BaseStepExtenderprocessIncoming in interface StepprocessIncoming in class BaseStepdata - the data processWekaException - if a problem occurspublic java.util.List<java.lang.String> getIncomingConnectionTypes()
getIncomingConnectionTypes in interface BaseStepExtendergetIncomingConnectionTypes in interface Steppublic java.util.List<java.lang.String> getOutgoingConnectionTypes()
getOutgoingConnectionTypes in interface BaseStepExtendergetOutgoingConnectionTypes in interface Steppublic java.lang.String getCustomEditorForStep()
getCustomEditorForStep in interface StepgetCustomEditorForStep in class BaseStep