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
public class FloatParameterToolElement extends TextParameterToolElement
This class define a float tool element parameter.- Since:
- 2.0
- Author:
- Sandrine Perrin
-
-
Field Summary
Fields Modifier and Type Field Description static StringTYPEThe Constant TYPE.-
Fields inherited from class fr.ens.biologie.genomique.eoulsan.galaxytools.elements.AbstractToolElement
COMMA
-
Fields inherited from interface fr.ens.biologie.genomique.eoulsan.galaxytools.elements.ToolElement
SEP
-
-
Constructor Summary
Constructors Constructor Description FloatParameterToolElement(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisParameterValueValid()Test if the parameter value is validvoidsetValue(String value)Sets the value.StringtoString()-
Methods inherited from class fr.ens.biologie.genomique.eoulsan.galaxytools.elements.TextParameterToolElement
getValue, isSet
-
Methods inherited from class fr.ens.biologie.genomique.eoulsan.galaxytools.elements.AbstractToolElement
equals, getHelp, getLabel, getName, getShortName, getType, getValidatedName, hashCode, isOptional
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
The Constant TYPE.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FloatParameterToolElement
public FloatParameterToolElement(ToolInfo toolInfo, Element param) throws EoulsanException
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 Detail
-
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
public void setValue(String value) throws EoulsanException
Description copied from interface:ToolElementSets the value.- Specified by:
setValuein interfaceToolElement- Overrides:
setValuein classTextParameterToolElement- Parameters:
value- the value- Throws:
EoulsanException- the eoulsan exception
-
toString
public String toString()
- Overrides:
toStringin classAbstractToolElement
-
-