Enum Class VersionCheckType

java.lang.Object
java.lang.Enum<VersionCheckType>
ml.karmaconfigs.api.common.version.util.VersionCheckType
All Implemented Interfaces:
Serializable, Comparable<VersionCheckType>, java.lang.constant.Constable

public enum VersionCheckType extends Enum<VersionCheckType>
Karma updater checks type
  • Enum Constant Details

    • ID

      public static final VersionCheckType ID
      Unique and non resolvable version ID type
    • NUMBER

      public static final VersionCheckType NUMBER
      Classic version system ( 1.0.0 ) ( 1.0.1 ) ...
    • RESOLVABLE_ID

      public static final VersionCheckType RESOLVABLE_ID
      Unique version ID which has a way to be decoded to display some data
  • Method Details

    • values

      public static VersionCheckType[] 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 VersionCheckType 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