Package ch.njol.skript.update
Class GithubChecker
java.lang.Object
ch.njol.skript.update.GithubChecker
- All Implemented Interfaces:
UpdateChecker
Uses Github API to check for updates.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classGithub API response for GSON deserialization. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheck(ReleaseManifest manifest, ReleaseChannel channel) Checks for updates.
-
Constructor Details
-
GithubChecker
public GithubChecker()
-
-
Method Details
-
check
Description copied from interface:UpdateCheckerChecks for updates.- Specified by:
checkin interfaceUpdateChecker- Parameters:
manifest- Manifest for release which is to be updated.- Returns:
- A future that will contain an update manifest, or null if there are no updates available currently.
-