Class AbstractToolElement
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.galaxytools.elements.AbstractToolElement
-
- All Implemented Interfaces:
ToolElement
- Direct Known Subclasses:
AbstractParameterToolElement
,DataToolElement
public abstract class AbstractToolElement extends Object implements ToolElement
This class define an abstract tool element.- Since:
- 2.0
- Author:
- Sandrine Perrin
-
-
Field Summary
Fields Modifier and Type Field Description protected static com.google.common.base.Splitter
COMMA
SPLITTER.-
Fields inherited from interface fr.ens.biologie.genomique.eoulsan.galaxytools.elements.ToolElement
SEP
-
-
Constructor Summary
Constructors Constructor Description AbstractToolElement(Element param)
Instantiates a new abstract tool element.AbstractToolElement(Element param, String nameSpace)
Instantiates a new abstract tool element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getHelp()
Gets the help.String
getLabel()
Gets the label.String
getName()
Gets the name.String
getShortName()
Gets the short name.String
getType()
Gets the type.String
getValidatedName()
Gets the name which respect Eoulsan's syntax.int
hashCode()
Boolean
isOptional()
Checks if is optional.String
toString()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface fr.ens.biologie.genomique.eoulsan.galaxytools.elements.ToolElement
getValue, setValue
-
-
-
-
Constructor Detail
-
AbstractToolElement
public AbstractToolElement(Element param)
Instantiates a new abstract tool element.- Parameters:
param
- the parameter
-
-
Method Detail
-
isOptional
public Boolean isOptional()
Checks if is optional.- Returns:
- the boolean
-
getLabel
public String getLabel()
Gets the label.- Returns:
- the label
-
getHelp
public String getHelp()
Gets the help.- Returns:
- the help
-
getShortName
public String getShortName()
Gets the short name.- Specified by:
getShortName
in interfaceToolElement
- Returns:
- the short name
-
getName
public String getName()
Description copied from interface:ToolElement
Gets the name.- Specified by:
getName
in interfaceToolElement
- Returns:
- the name
-
getValidatedName
public String getValidatedName()
Description copied from interface:ToolElement
Gets the name which respect Eoulsan's syntax.- Specified by:
getValidatedName
in interfaceToolElement
- Returns:
- the name
-
getType
public String getType()
Gets the type.- Returns:
- the type
-
-