|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knime.base.node.meta.looper.condition.LoopEndConditionSettings
public class LoopEndConditionSettings
This class holds the settings for the condition loop tail node.
Nested Class Summary | |
---|---|
static class |
LoopEndConditionSettings.Operator
All comparison operators the user can choose from in the dialog. |
Constructor Summary | |
---|---|
LoopEndConditionSettings()
|
Method Summary | |
---|---|
boolean |
addIterationColumn()
Returns if a column containing the iteration number should be appended to the output table. |
void |
addIterationColumn(boolean add)
Sets if a column containing the iteration number should be appended to the output table. |
boolean |
addLastRows()
Returns if the rows from the loop's last iteration should be added to the output table or not. |
void |
addLastRows(boolean b)
Sets if the rows from the loop's last iteration should be added to the output table or not. |
boolean |
addLastRowsOnly()
Returns if only the rows from the loop's last iteration should be added to the output table or not. |
void |
addLastRowsOnly(boolean b)
Sets if only the rows from the loop's last iteration should be added to the output table or not. |
void |
loadSettings(NodeSettingsRO settings)
Loads the settings from the node settings object. |
void |
loadSettingsForDialog(NodeSettingsRO settings)
Loads the settings from the node settings object. |
LoopEndConditionSettings.Operator |
operator()
Returns the operator that should be used in the comparison between variable and value. |
void |
operator(LoopEndConditionSettings.Operator op)
Sets the operator that should be used in the comparison between variable and value. |
void |
saveSettings(NodeSettingsWO settings)
Writes the settings into the node settings object. |
String |
value()
Returns the value the flow variable should be compared with. |
void |
value(String s)
Sets the value the flow variable should be compared with. |
void |
variable(FlowVariable var)
Sets the flow variable which is checked in each iteration. |
String |
variableName()
Returns the flow variable's name which is checked in each iteration. |
FlowVariable.Type |
variableType()
Returns the flow variable's type which is checked in each iteration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoopEndConditionSettings()
Method Detail |
---|
public boolean addLastRows()
true
if the rows should be added,
false
otherwisepublic void addLastRowsOnly(boolean b)
b
- true
if the only the last rows should be added,
false
otherwisepublic boolean addLastRowsOnly()
true
if the only the last rows should be added,
false
otherwisepublic void addLastRows(boolean b)
b
- true
if the rows should be added,
false
otherwisepublic void addIterationColumn(boolean add)
add
- true
if a column should be added,
false
otherwisepublic boolean addIterationColumn()
true
if a column should be added,
false
otherwisepublic String variableName()
public FlowVariable.Type variableType()
public void variable(FlowVariable var)
var
- the flow variablepublic LoopEndConditionSettings.Operator operator()
public void operator(LoopEndConditionSettings.Operator op)
op
- the comparison operatorpublic String value()
public void value(String s)
s
- the valuepublic void loadSettings(NodeSettingsRO settings) throws InvalidSettingsException
settings
- a node settings object
InvalidSettingsException
public void loadSettingsForDialog(NodeSettingsRO settings)
settings
- a node settings objectpublic void saveSettings(NodeSettingsWO settings)
settings
- a node settings object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |