Enum AuditLogActionType

    • Method Detail

      • values

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

        public static AuditLogActionType 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
      • getValue

        public int getValue​()
        Gets the value of the action type.
        Returns:
        The value of the action type.
      • fromValue

        public static AuditLogActionType fromValue​(int value)
        Gets an AuditLogActionType by its value.
        Parameters:
        value - The value of the action type.
        Returns:
        The action type for the given value, or UNKNOWN if there's no with the given value.