Enum Class AuditLevel

java.lang.Object
java.lang.Enum<AuditLevel>
tech.skworks.tachyon.api.audit.AuditLevel
All Implemented Interfaces:
Serializable, Comparable<AuditLevel>, Constable

public enum AuditLevel extends Enum<AuditLevel>
Defines the criticality and delivery level of an AuditEntry.

Project Tachyon

Since:
2.0.0-SNAPSHOT
Version:
1.0
Author:
Jimmy (vSKAH) - 25/08/2026
  • Enum Constant Details

    • LOW

      public static final AuditLevel LOW
      High-frequency gameplay events (e.g. movement, minor clicks, inventory shuffling).
    • NORMAL

      public static final AuditLevel NORMAL
      Standard informative events (e.g. login, logout, economy changes, routine commands). Default level.
    • CRITICAL

      public static final AuditLevel CRITICAL
      High-priority or security-sensitive events (e.g. bans, real-money transactions, admin permission changes).
  • Method Details

    • values

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

      public static AuditLevel valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null