Enum SyntaxNotation

    • Enum Constant Detail

      • REFCODES

        public static final SyntaxNotation REFCODES
        A notation which the author of this code believes to unambiguously describe a command line utility's argument syntax; as defined by the means of this refcodes-cli artifact.
      • GNU_POSIX

        public static final SyntaxNotation GNU_POSIX
        A syntax notation derived from GNU and POSIX utility conventions and utility argument syntax.
        See Also:
        "http://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html", "http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html"
    • Method Detail

      • values

        public static SyntaxNotation[] 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 (SyntaxNotation c : SyntaxNotation.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SyntaxNotation valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null