Class ArgumentTypeDescription

    • Constructor Detail

      • ArgumentTypeDescription

        public ArgumentTypeDescription​(java.lang.String shortName,
                                       java.lang.String description,
                                       java.lang.String defaultValue)
        Constructor with shortName, description and defaultValue
        Parameters:
        shortName - String
        description - String
        defaultValue - String
      • ArgumentTypeDescription

        public ArgumentTypeDescription()
        Default constructor
    • Method Detail

      • getDefaultValue

        public java.lang.String getDefaultValue()
        Returns:
        the defaultValue
      • setDefaultValue

        public void setDefaultValue​(java.lang.String defaultValue)
        Parameters:
        defaultValue - the defaultValue to set
      • parse

        public void parse​(org.dom4j.Element elem)
        Description copied from class: AbstractBaseDescription
        Populates fields from given XML element without validation
        Overrides:
        parse in class AbstractBaseDescription
        Parameters:
        elem - root element for parsing
      • isRequired

        public boolean isRequired()
        Returns:
        the required
      • setRequired

        public void setRequired​(boolean required)
        Parameters:
        required - the required to set
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • newInstance

        public static ArgumentTypeDescription newInstance()
        Returns a new instance of ArgumentTypeDescription
        Returns:
        a new instance of ArgumentTypeDescription
      • compare

        public boolean compare​(ArgumentTypeDescription newArgumentTypeDescription)
        Utility function for comparing this ArgumentTypeDescription with another ArgumentTypeDescription instance.
        Parameters:
        newArgumentTypeDescription - ArgumentTypeDescription instance to be compared to
        Returns:
        true if they are different