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
  • Constructor Details

    • AbstractToolElement

      public AbstractToolElement(Element param)
      Instantiates a new abstract tool element.
      Parameters:
      param - the parameter
    • AbstractToolElement

      public AbstractToolElement(Element param, String nameSpace)
      Instantiates a new abstract tool element.
      Parameters:
      param - the parameter
      nameSpace - the name space
  • Method Details

    • 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 interface ToolElement
      Returns:
      the short name
    • getName

      public String getName()
      Description copied from interface: ToolElement
      Gets the name.
      Specified by:
      getName in interface ToolElement
      Returns:
      the name
    • getValidatedName

      public String getValidatedName()
      Description copied from interface: ToolElement
      Gets the name which respect Eoulsan's syntax.
      Specified by:
      getValidatedName in interface ToolElement
      Returns:
      the name
    • getType

      public String getType()
      Gets the type.
      Returns:
      the type
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object