Enum AssuredMode

    • Enum Constant Detail

      • SAFE_READ_MODE

        public static final AssuredMode SAFE_READ_MODE
        Safe read assured mode.
      • SAFE_DATA_MODE

        public static final AssuredMode SAFE_DATA_MODE
        Safe data assured mode.
    • Method Detail

      • values

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

        public static AssuredMode 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
      • valueOf

        public static AssuredMode valueOf​(byte value)
                                   throws IllegalArgumentException
        Returns the AssuredMode matching the passed mode numeric representation.
        Parameters:
        value - The numeric value for the mode to return
        Returns:
        The matching AssuredMode
        Throws:
        IllegalArgumentException - If provided mode value is wrong
      • getValue

        public byte getValue()
        Get a numeric representation of the mode.
        Returns:
        The numeric representation of the mode