Enum Terminate.Code

    • Enum Constant Detail

      • UNSPECIFIED_ERROR

        public static final Terminate.Code UNSPECIFIED_ERROR
      • RE_REQUEST_OUT_OF_BOUNDS

        public static final Terminate.Code RE_REQUEST_OUT_OF_BOUNDS
      • RE_REQUEST_IN_PROGRESS

        public static final Terminate.Code RE_REQUEST_IN_PROGRESS
    • Method Detail

      • values

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

        public static Terminate.Code 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
      • value

        public String value()