Class Option


  • public class Option
    extends java.lang.Object
    Represents a command line option.
    Since:
    2.0
    • Constructor Summary

      Constructors 
      Constructor Description
      Option​(java.lang.String name, java.lang.String description)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getDescription()  
      java.lang.String getName()  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Option

        public Option​(java.lang.String name,
                      java.lang.String description)
        Parameters:
        name - The name
        description - The description
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns:
        The name of the option
      • getDescription

        public java.lang.String getDescription()
        Returns:
        The description of the option
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object