Enum CommandLineOptions

    • Field Detail

      • option

        private final java.lang.String option
      • helperString

        private final java.lang.String helperString
      • descriptionKey

        private final java.lang.String descriptionKey
    • Constructor Detail

      • CommandLineOptions

        private CommandLineOptions​(java.lang.String option,
                                   java.lang.String helperString,
                                   java.lang.String descriptionKey,
                                   NumberOfArguments numberOfArguments)
      • CommandLineOptions

        private CommandLineOptions​(java.lang.String option,
                                   java.lang.String helperString,
                                   java.lang.String descriptionKey)
      • CommandLineOptions

        private CommandLineOptions​(java.lang.String option,
                                   java.lang.String descriptionKey,
                                   NumberOfArguments numberOfArguments)
      • CommandLineOptions

        private CommandLineOptions​(java.lang.String option,
                                   java.lang.String descriptionKey)
    • Method Detail

      • values

        public static CommandLineOptions[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CommandLineOptions c : CommandLineOptions.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CommandLineOptions valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getOption

        public java.lang.String getOption()
      • getHelperString

        public java.lang.String getHelperString()
      • getLocalizedDescription

        public java.lang.String getLocalizedDescription()
      • hasEvenNumberSupportingEqualsChar

        public boolean hasEvenNumberSupportingEqualsChar()
      • hasOneOrMoreArguments

        public boolean hasOneOrMoreArguments()
      • hasOneArgument

        public boolean hasOneArgument()
      • hasNumberOfArguments

        private boolean hasNumberOfArguments​(NumberOfArguments number)
      • getArgumentExplanation

        public java.lang.String getArgumentExplanation()