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
Modifier and TypeClassDescriptionstatic class
Github API response for GSON deserialization. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncheck
(ReleaseManifest manifest, ReleaseChannel channel) Checks for updates.
-
Constructor Details
-
GithubChecker
public GithubChecker()
-
-
Method Details
-
check
Description copied from interface:UpdateChecker
Checks for updates.- Specified by:
check
in 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.
-