Enum CustomCrafterAPI.VersionType
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum CustomCrafterAPI.VersionType extends Enum<CustomCrafterAPI.VersionType>
Represents the release stage of the Custom Crafter API.
Use CustomCrafterAPI.VERSION_TYPE to get the current release stage.
if (CustomCrafterAPI.VERSION_TYPE != CustomCrafterAPI.VersionType.STABLE) { logger.warning("CustomCrafter API is not a stable release: ${CustomCrafterAPI.VERSION_TYPE}") }- Since:
5.2.0
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringtypeprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<CustomCrafterAPI.VersionType>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description ALPHAEarly development stage. APIs may change significantly.
BETAFeature-complete, but may contain bugs. APIs may still change.
RCRelease candidate. Stable enough for testing; no further API changes expected.
STABLEProduction-ready release.
-
Method Summary
Modifier and Type Method Description final Array<CustomCrafterAPI.VersionType>values()final CustomCrafterAPI.VersionTypevalueOf(String value)final StringgetType()final EnumEntries<CustomCrafterAPI.VersionType>getEntries()-
-
Method Detail
-
values
final Array<CustomCrafterAPI.VersionType> values()
-
valueOf
final CustomCrafterAPI.VersionType valueOf(String value)
-
getEntries
final EnumEntries<CustomCrafterAPI.VersionType> getEntries()
-
-
-
-