Class AbstractToolElement

    • Field Detail

      • COMMA

        protected static final com.google.common.base.Splitter COMMA
        SPLITTER.
    • Constructor Detail

      • 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 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
      • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object