Class SelectParameterToolElement
java.lang.Object
fr.ens.biologie.genomique.eoulsan.galaxytools.elements.AbstractToolElement
fr.ens.biologie.genomique.eoulsan.galaxytools.elements.AbstractParameterToolElement
fr.ens.biologie.genomique.eoulsan.galaxytools.elements.SelectParameterToolElement
- All Implemented Interfaces:
ToolElement
This class define a select tool element parameter.
- Since:
- 2.0
- Author:
- Sandrine Perrin
-
Field Summary
FieldsFields inherited from interface fr.ens.biologie.genomique.eoulsan.galaxytools.elements.ToolElement
SEP -
Constructor Summary
ConstructorsConstructorDescriptionSelectParameterToolElement(ToolInfo toolInfo, Element param) Instantiates a new select tool element parameter.SelectParameterToolElement(ToolInfo toolInfo, Element param, String nameSpace) Instantiates a new select tool element parameter. -
Method Summary
Methods inherited from class fr.ens.biologie.genomique.eoulsan.galaxytools.elements.AbstractToolElement
equals, getHelp, getLabel, getName, getShortName, getType, getValidatedName, hashCode, isOptional
-
Field Details
-
TYPE
The Constant TYPE.- See Also:
-
-
Constructor Details
-
SelectParameterToolElement
Instantiates a new select tool element parameter.- Parameters:
toolInfo- the ToolInfo objectparam- the param- Throws:
EoulsanException- the eoulsan exception
-
SelectParameterToolElement
public SelectParameterToolElement(ToolInfo toolInfo, Element param, String nameSpace) throws EoulsanException Instantiates a new select tool element parameter.- Parameters:
toolInfo- the ToolInfo objectparam- the paramnameSpace- the name space- Throws:
EoulsanException- the eoulsan exception
-
-
Method Details
-
isParameterValueValid
public boolean isParameterValueValid()Description copied from class:AbstractParameterToolElementTest if the parameter value is valid- Specified by:
isParameterValueValidin classAbstractParameterToolElement- Returns:
- true if the paramter value is valid
-
getValue
Description copied from interface:ToolElementGets the value.- Returns:
- the value
-
isSet
public boolean isSet()Description copied from class:AbstractParameterToolElementChecks if the value has been set (is not the default value).- Specified by:
isSetin classAbstractParameterToolElement- Returns:
- true if the value has been set
-
setValue
Description copied from interface:ToolElementSets the value.- Parameters:
value- the value- Throws:
EoulsanException- the eoulsan exception
-
toString
- Overrides:
toStringin classAbstractToolElement
-