Package org.knime.core.webui.node.dialog
Interface VariableSettingsRO
- All Known Subinterfaces:
NodeAndVariableSettingsRO
- All Known Implementing Classes:
VariableSettings
public interface VariableSettingsRO
Gives access to the variable settings tree. Infos on the settings which are exposed as or controlled by flow
variables.
- Author:
- Martin Horn, KNIME GmbH, Konstanz, Germany
-
Method Summary
Modifier and TypeMethodDescriptiongetExposedVariable(String key) getUsedVariable(String key) booleanisVariableSetting(String key) Whether the setting for the given key is a 'leaf' in the variable settings tree.
-
Method Details
-
getVariableSettingsIterable
- Returns:
- an iterable over all the settings keys at this level
-
isVariableSetting
Whether the setting for the given key is a 'leaf' in the variable settings tree. I.e.getUsedVariable(String)andgetExposedVariable(String)can be called without them throwing anInvalidSettingsException. IffalsegetVariableSettings(String)can be used to further traverse the variable settings tree.- Parameters:
key-- Returns:
trueif the setting for the key is a variable setting
-
getVariableSettings
VariableSettingsRO getVariableSettings(String key) throws org.knime.core.node.InvalidSettingsException - Parameters:
key-- Returns:
- the variable settings subtree for the given key
- Throws:
org.knime.core.node.InvalidSettingsException- if there is no variable settings subtree for the given key
-
getUsedVariable
- Parameters:
key-- Returns:
- the name of the variable used or
nullif none is set - Throws:
org.knime.core.node.InvalidSettingsException- if there no variable setting for the given key
-
getExposedVariable
- Parameters:
key-- Returns:
- the name of the variable exposed or
nullif none is set - Throws:
org.knime.core.node.InvalidSettingsException- if there no variable setting for the given key
-