Interface VersionChecker.UpdateState
- All Known Implementing Classes:
VersionChecker.UpdateState.Error, VersionChecker.UpdateState.Missing, VersionChecker.UpdateState.Outdated, VersionChecker.UpdateState.UpToDate
- Enclosing class:
VersionChecker
public static interface VersionChecker.UpdateState
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordAn error occurred while checking for updates or no content received.static final record"version" or/and "repo" properties are missing in the mod/plugin definition.static final recordAn update was found, the mod/plugin needs to be upgraded.static final recordNo new updates found, it's the latest version. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VersionChecker.UpdateState.Errorstatic final VersionChecker.UpdateState.Errorstatic final VersionChecker.UpdateState.Missingstatic final VersionChecker.UpdateState.Missingstatic final VersionChecker.UpdateState.UpToDate
-
Field Details
-
missingRepo
-
missingVersion
-
errorNoContent
-
errorInvalidJson
-
upToDate
-