@KFStep(name="SetVariables", category="Flow", toolTipText="Assign default values for variables if they are not already set", iconPath="weka/gui/knowledgeflow/icons/DiamondPlain.gif") public class SetVariables extends BaseStep
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SEP1
Separators for internal variable specification
|
static java.lang.String |
SEP2 |
Constructor and Description |
---|
SetVariables() |
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.
|
java.util.List<java.lang.String> |
getOutgoingConnectionTypes()
Get a list of outgoing connection types that this step can produce.
|
java.lang.String |
getVarsInternalRep()
Get the variables to set (in internal representation)
|
static java.util.Map<java.lang.String,java.lang.String> |
internalToMap(java.lang.String internalRep)
Convert a string in the internal variable representation to a map
of variables + values
|
void |
setVarsInternalRep(java.lang.String rep)
Set the variables to set (in internal representation)
|
void |
stepInit()
Initialize the step.
|
environmentSubstitute, getDefaultSettings, getInteractiveViewers, getInteractiveViewersImpls, getName, getStepManager, globalInfo, isResourceIntensive, isStopRequested, outputStructureForConnectionType, processIncoming, setName, setStepIsResourceIntensive, setStepManager, start, stop
public static final java.lang.String SEP1
public static final java.lang.String SEP2
@ProgrammaticProperty public void setVarsInternalRep(java.lang.String rep)
rep
- the variables to setpublic java.lang.String getVarsInternalRep()
public void stepInit() throws WekaException
WekaException
- if a problem occurs during initializationpublic java.util.List<java.lang.String> getIncomingConnectionTypes()
public java.util.List<java.lang.String> getOutgoingConnectionTypes()
public java.lang.String getCustomEditorForStep()
getCustomEditorForStep
in interface Step
getCustomEditorForStep
in class BaseStep
public static java.util.Map<java.lang.String,java.lang.String> internalToMap(java.lang.String internalRep)
internalRep
- the variables in internal represenation