Enum CommandNaming.Strategy

    • Enum Constant Detail

      • SPLIT

        public static final CommandNaming.Strategy SPLIT
        Replace camel humps with spaces and split the method name into multiple command segments. A method named clientSetname would issue a command CLIENT SETNAME.
      • DOT

        public static final CommandNaming.Strategy DOT
        Replace camel humps with spaces. A method named nrRun would issue a command named NR.RUN.
      • METHOD_NAME

        public static final CommandNaming.Strategy METHOD_NAME
        Passthru the command as-is. A method named clientSetname would issue a command named CLIENTSETNAME.
    • Method Detail

      • values

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

        public static CommandNaming.Strategy 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