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.SplitterCOMMASPLITTER.-
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 booleanequals(Object obj)StringgetHelp()Gets the help.StringgetLabel()Gets the label.StringgetName()Gets the name.StringgetShortName()Gets the short name.StringgetType()Gets the type.StringgetValidatedName()Gets the name which respect Eoulsan's syntax.inthashCode()BooleanisOptional()Checks if is optional.StringtoString()-
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:
getShortNamein interfaceToolElement- Returns:
- the short name
-
getName
public String getName()
Description copied from interface:ToolElementGets the name.- Specified by:
getNamein interfaceToolElement- Returns:
- the name
-
getValidatedName
public String getValidatedName()
Description copied from interface:ToolElementGets the name which respect Eoulsan's syntax.- Specified by:
getValidatedNamein interfaceToolElement- Returns:
- the name
-
getType
public String getType()
Gets the type.- Returns:
- the type
-
-