Class ConditionalToolElement
java.lang.Object
fr.ens.biologie.genomique.eoulsan.galaxytools.elements.ConditionalToolElement
- All Implemented Interfaces:
ToolElement
This class define a conditional tool element.
- Since:
- 2.0
- Author:
- Sandrine Perrin
-
Field Summary
FieldsFields inherited from interface fr.ens.biologie.genomique.eoulsan.galaxytools.elements.ToolElement
SEP -
Constructor Summary
ConstructorsConstructorDescriptionConditionalToolElement(ToolInfo toolInfo, Element element) Instantiates a new tool conditional element. -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the name.Gets the short name.Gets the tool parameter selected.Gets the tool parameters result.Gets the name which respect Eoulsan's syntax.getValue()Gets the value.booleanisSet()Test if the value has been set (if not the default value)voidSets the value.voidSet the values.toString()
-
Field Details
-
TYPE
The Constant TYPE.- See Also:
-
-
Constructor Details
-
ConditionalToolElement
Instantiates a new tool conditional element.- Parameters:
toolInfo- the ToolInfo objectelement- the element- Throws:
EoulsanException- the eoulsan exception
-
-
Method Details
-
getName
Description copied from interface:ToolElementGets the name.- Specified by:
getNamein interfaceToolElement- Returns:
- the name
-
getShortName
Description copied from interface:ToolElementGets the short name.- Specified by:
getShortNamein interfaceToolElement- Returns:
- the short name
-
getValidatedName
Description copied from interface:ToolElementGets the name which respect Eoulsan's syntax.- Specified by:
getValidatedNamein interfaceToolElement- Returns:
- the name
-
getToolElementSelected
Gets the tool parameter selected.- Returns:
- the tool parameter selected
-
getToolElementsResult
Gets the tool parameters result.- Returns:
- the tool parameters result
-
isSet
public boolean isSet()Test if the value has been set (if not the default value)- Returns:
- true if the value has been set
-
getValue
Description copied from interface:ToolElementGets the value.- Specified by:
getValuein interfaceToolElement- Returns:
- the value
-
setValue
Description copied from interface:ToolElementSets the value.- Specified by:
setValuein interfaceToolElement- Parameters:
value- the value
-
setValues
Set the values.- Parameters:
stepParameters- step parameters- Throws:
EoulsanException- if an error occurs while setting the values
-
toString
-