Enum Class LogBroadcastEvent.Origin

java.lang.Object
java.lang.Enum<LogBroadcastEvent.Origin>
net.luckperms.api.event.log.LogBroadcastEvent.Origin
All Implemented Interfaces:
Serializable, Comparable<LogBroadcastEvent.Origin>, Constable
Enclosing interface:
LogBroadcastEvent

public static enum LogBroadcastEvent.Origin extends Enum<LogBroadcastEvent.Origin>
Represents where a log entry is from
  • Enum Constant Details

    • LOCAL

      public static final LogBroadcastEvent.Origin LOCAL
      Marks a log entry which originated from the current server instance
    • LOCAL_API

      public static final LogBroadcastEvent.Origin LOCAL_API
      Marks a log entry which originated from an API call on the current server instance
    • REMOTE

      public static final LogBroadcastEvent.Origin REMOTE
      Marks a log entry which was sent to this server via the messaging service
  • Method Details

    • values

      public static LogBroadcastEvent.Origin[] 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 LogBroadcastEvent.Origin 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