Enum CommandManager.ManagerSettings

    • Enum Constant Detail


        public static final CommandManager.ManagerSettings ALLOW_UNSAFE_REGISTRATION
        Allow registering commands even when doing so has the potential to produce inconsistent results.

        For example, if a platform serializes the command tree and sends it to clients, this will allow modifying the command tree after it has been sent, as long as these modifications are not blocked by the underlying platform

    • Method Detail

      • values

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

        public static CommandManager.ManagerSettings 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.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null