Enum Class ERestrictionType

java.lang.Object
java.lang.Enum<ERestrictionType>
host.anzo.commons.model.enums.ERestrictionType
All Implemented Interfaces:
Serializable, Comparable<ERestrictionType>, Constable

public enum ERestrictionType extends Enum<ERestrictionType>
Since:
5/28/2024
  • Enum Constant Details

  • Method Details

    • values

      public static ERestrictionType[] 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 ERestrictionType 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
    • isBypass

      public boolean isBypass()
    • isBan

      public boolean isBan()
    • isKick

      public boolean isKick()
    • isLog

      public boolean isLog()
    • isEqualOrHigher

      public boolean isEqualOrHigher(@NotNull @NotNull ERestrictionType action)