Enum Class ZentrixEdition

java.lang.Object
java.lang.Enum<ZentrixEdition>
dev.itsharshxd.zentrix.api.platform.ZentrixEdition
All Implemented Interfaces:
Serializable, Comparable<ZentrixEdition>, Constable

public enum ZentrixEdition extends Enum<ZentrixEdition>
The installed Zentrix edition. Edition limits are enforced by Zentrix; the API reports them but cannot lift them.
Since:
1.8.0
  • Enum Constant Details

    • PREMIUM

      public static final ZentrixEdition PREMIUM
      The licensed Premium edition.
    • UNLICENSED

      public static final ZentrixEdition UNLICENSED
      A Premium build that runs without a license check.
    • FREE

      public static final ZentrixEdition FREE
      The restricted free edition.
  • Method Details

    • values

      public static ZentrixEdition[] 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 ZentrixEdition 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
    • hasPremiumFeatures

      public boolean hasPremiumFeatures()
      Whether Premium-only features are part of this edition.