@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 String |
SEP1
Separators for internal variable specification
|
static String |
SEP2 |
| Constructor and Description |
|---|
SetVariables() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCustomEditorForStep()
Return the fully qualified name of a custom editor component (JComponent)
to use for editing the properties of the step.
|
List<String> |
getIncomingConnectionTypes()
Get a list of incoming connection types that this step can accept.
|
List<String> |
getOutgoingConnectionTypes()
Get a list of outgoing connection types that this step can produce.
|
String |
getVarsInternalRep()
Get the variables to set (in internal representation)
|
static Map<String,String> |
internalToMap(String internalRep)
Convert a string in the internal variable representation to a map
of variables + values
|
void |
setVarsInternalRep(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, stoppublic static final String SEP1
public static final String SEP2
@ProgrammaticProperty public void setVarsInternalRep(String rep)
rep - the variables to setpublic String getVarsInternalRep()
public void stepInit()
throws WekaException
WekaException - if a problem occurs during initializationpublic List<String> getIncomingConnectionTypes()
public List<String> getOutgoingConnectionTypes()
public String getCustomEditorForStep()
getCustomEditorForStep in interface StepgetCustomEditorForStep in class BaseStepCopyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.