Enum OMSystemAction

java.lang.Object
java.lang.Enum<OMSystemAction>
org.apache.hadoop.ozone.audit.OMSystemAction
All Implemented Interfaces:
Serializable, Comparable<OMSystemAction>, org.apache.hadoop.ozone.audit.AuditAction

public enum OMSystemAction extends Enum<OMSystemAction> implements org.apache.hadoop.ozone.audit.AuditAction
Enum to define Audit Action types for system audit in OzoneManager. This will in addition to OMAction as present for request.
  • Enum Constant Details

    • STARTUP

      public static final OMSystemAction STARTUP
    • LEADER_CHANGE

      public static final OMSystemAction LEADER_CHANGE
    • OPEN_KEY_CLEANUP

      public static final OMSystemAction OPEN_KEY_CLEANUP
    • DB_CHECKPOINT_INSTALL

      public static final OMSystemAction DB_CHECKPOINT_INSTALL
    • DIRECTORY_DELETION

      public static final OMSystemAction DIRECTORY_DELETION
    • KEY_DELETION

      public static final OMSystemAction KEY_DELETION
    • SNAPSHOT_MOVE_TABLE_KEYS

      public static final OMSystemAction SNAPSHOT_MOVE_TABLE_KEYS
    • SNAPSHOT_PURGE

      public static final OMSystemAction SNAPSHOT_PURGE
    • SNAPSHOT_SET_PROPERTY

      public static final OMSystemAction SNAPSHOT_SET_PROPERTY
  • Method Details

    • values

      public static OMSystemAction[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static OMSystemAction 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
    • getAction

      public String getAction()
      Specified by:
      getAction in interface org.apache.hadoop.ozone.audit.AuditAction