Class FloatParameterToolElement
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.TextParameterToolElement
fr.ens.biologie.genomique.eoulsan.galaxytools.elements.FloatParameterToolElement
- All Implemented Interfaces:
ToolElement
This class define a float 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
ConstructorsConstructorDescriptionFloatParameterToolElement(ToolInfo toolInfo, Element param) Instantiates a new float tool parameter.FloatParameterToolElement(ToolInfo toolInfo, Element param, String nameSpace) Instantiates a new float tool parameter. -
Method Summary
Modifier and TypeMethodDescriptionbooleanTest if the parameter value is validvoidSets the value.toString()Methods inherited from class fr.ens.biologie.genomique.eoulsan.galaxytools.elements.TextParameterToolElement
getValue, isSetMethods 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
-
FloatParameterToolElement
Instantiates a new float tool parameter.- Parameters:
toolInfo- the ToolInfo objectparam- the param- Throws:
EoulsanException- the eoulsan exception
-
FloatParameterToolElement
public FloatParameterToolElement(ToolInfo toolInfo, Element param, String nameSpace) throws EoulsanException Instantiates a new float tool 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- Overrides:
isParameterValueValidin classTextParameterToolElement- Returns:
- true if the paramter value is valid
-
setValue
Description copied from interface:ToolElementSets the value.- Specified by:
setValuein interfaceToolElement- Overrides:
setValuein classTextParameterToolElement- Parameters:
value- the value- Throws:
EoulsanException- the eoulsan exception
-
toString
- Overrides:
toStringin classAbstractToolElement
-