Class ArgumentInfo


  • public class ArgumentInfo
    extends java.lang.Object
    The argument info provides info about an arguments including its name, type, defaultvalue, description and a converter.
    • Field Detail

      • name

        protected java.lang.String name
        The name.
      • type

        protected java.lang.Class<?> type
        The type.
      • defaultvalue

        protected java.lang.Object defaultvalue
        The default value.
      • description

        protected java.lang.String description
        The description.
    • Constructor Detail

      • ArgumentInfo

        public ArgumentInfo()
        Create a new argument info.
      • ArgumentInfo

        public ArgumentInfo​(java.lang.String name,
                            java.lang.Class<?> type,
                            java.lang.Object defval,
                            java.lang.String description,
                            IStringObjectConverter converter)
        Create a new argument info.
    • Method Detail

      • getName

        public java.lang.String getName()
        Get the name.
        Returns:
        The name.
      • setName

        public void setName​(java.lang.String name)
        Set the name.
        Parameters:
        name - The name to set.
      • getType

        public java.lang.Class<?> getType()
        Get the type.
        Returns:
        The type.
      • setType

        public void setType​(java.lang.Class<?> type)
        Set the type.
        Parameters:
        type - The type to set.
      • getDescription

        public java.lang.String getDescription()
        Get the description.
        Returns:
        The description.
      • setDescription

        public void setDescription​(java.lang.String description)
        Set the description.
        Parameters:
        description - The description to set.
      • setConverter

        public void setConverter​(IStringObjectConverter converter)
        Set the converter.
        Parameters:
        converter - The converter to set.
      • getDefaultValue

        public java.lang.Object getDefaultValue()
        Get the defaultValue.
        Returns:
        The defaultValue.
      • setDefaultValue

        public void setDefaultValue​(java.lang.Object defaultValue)
        Set the defaultValue.
        Parameters:
        defaultValue - The defaultValue to set.
      • getUsageText

        public java.lang.String getUsageText()
        Get the usage text.
        Returns:
        The usage text.