Class VersionUpdater
java.lang.Object
ml.karmaconfigs.api.common.version.VersionUpdater
- Direct Known Subclasses:
LegacyVersionUpdater
Karma version updater
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classVersion updater builder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateNewBuilder(KarmaSource owner)Create a new version updater builderfetch(boolean force)Fetch for updatesget()Get the last update fetch result
-
Constructor Details
-
VersionUpdater
public VersionUpdater()
-
-
Method Details
-
createNewBuilder
Create a new version updater builder- Parameters:
owner- the updater source- Returns:
- a new version updater builder
-
fetch
Fetch for updates- Parameters:
force- force the update instead of returning the cached result- Returns:
- the fetch result
-
get
Get the last update fetch result- Returns:
- the last update fetch result
-