Class DataToolElement
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.galaxytools.elements.AbstractToolElement
-
- fr.ens.biologie.genomique.eoulsan.galaxytools.elements.DataToolElement
-
- All Implemented Interfaces:
ToolElement
public class DataToolElement extends AbstractToolElement
The Class ToolOutputsData.- Since:
- 2.0
- Author:
- Sandrine Perrin
-
-
Field Summary
Fields Modifier and Type Field Description static String
TAG_NAME
The Constant TAG_NAME.static String
TYPE
The 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 DataToolElement(ToolInfo toolInfo, Element param, String nameSpace)
Instantiates a new tool outputs data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataFormat
getDataFormat()
Get the data format of the tool element.String
getValue()
Gets the value.void
setValue(String value)
Sets the value.-
Methods inherited from class fr.ens.biologie.genomique.eoulsan.galaxytools.elements.AbstractToolElement
equals, getHelp, getLabel, getName, getShortName, getType, getValidatedName, hashCode, isOptional, toString
-
-
-
-
Field Detail
-
TAG_NAME
public static final String TAG_NAME
The Constant TAG_NAME.- See Also:
- Constant Field Values
-
TYPE
public static final String TYPE
The Constant TYPE.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DataToolElement
public DataToolElement(ToolInfo toolInfo, Element param, String nameSpace) throws EoulsanException
Instantiates a new tool outputs data.- Parameters:
toolInfo
- the ToolInfo objectparam
- the param- Throws:
EoulsanException
- if an error occurs while setting the value
-
-
Method Detail
-
getValue
public String getValue()
Description copied from interface:ToolElement
Gets the value.- Returns:
- the value
-
getDataFormat
public DataFormat getDataFormat()
Get the data format of the tool element.- Returns:
- the data format
-
setValue
public void setValue(String value)
Description copied from interface:ToolElement
Sets the value.- Parameters:
value
- the value
-
-