public interface Step
BaseStep,
BaseStepExtender| 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.
|
Defaults |
getDefaultSettings()
Get default settings for the step (if any).
|
java.util.List<java.lang.String> |
getIncomingConnectionTypes()
Get a list of incoming connection types that this step can accept.
|
java.util.Map<java.lang.String,java.lang.String> |
getInteractiveViewers()
When running in a graphical execution environment a step can make one or
more popup Viewer components available.
|
java.util.Map<java.lang.String,StepInteractiveViewer> |
getInteractiveViewersImpls()
An alternative to getStepInteractiveViewers that returns a Map of
instantiated StepInteractiveViewer objects.
|
java.lang.String |
getName()
Get the name of this step
|
java.util.List<java.lang.String> |
getOutgoingConnectionTypes()
Get a list of outgoing connection types that this step can produce.
|
StepManager |
getStepManager()
Get the step manager in use with this step
|
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 |
processIncoming(Data data)
Process an incoming data payload (if the step accepts incoming connections)
|
void |
setName(java.lang.String name)
Set the name for this step
|
void |
setStepManager(StepManager manager)
Set the step manager to use with this step.
|
void |
start()
Start executing (if this component is a start point)
|
void |
stepInit()
Initialize the step.
|
void |
stop()
Request a stop to all processing by this step (as soon as possible)
|
StepManager getStepManager()
void setStepManager(StepManager manager)
manager - the step manager to usejava.lang.String getName()
void setName(java.lang.String name)
name - the name for this stepvoid stepInit()
throws WekaException
WekaException - if a problem occurs during initializationjava.util.List<java.lang.String> getIncomingConnectionTypes()
java.util.List<java.lang.String> getOutgoingConnectionTypes()
void start()
throws WekaException
WekaException - if a problem occursvoid stop()
void processIncoming(Data data) throws WekaException
data - the data to processWekaException - if a problem occursInstances outputStructureForConnectionType(java.lang.String connectionName) throws WekaException
connectionName - the name of the connection type to get the output
structure forWekaException - if a problem occursjava.lang.String getCustomEditorForStep()
java.util.Map<java.lang.String,java.lang.String> getInteractiveViewers()
java.util.Map<java.lang.String,StepInteractiveViewer> getInteractiveViewersImpls()
Defaults getDefaultSettings()