Class LegacyVersionUpdater
java.lang.Object
ml.karmaconfigs.api.common.version.VersionUpdater
ml.karmaconfigs.api.common.version.LegacyVersionUpdater
Karma legacy version updater
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classLegacy version updater builderNested classes/interfaces inherited from class ml.karmaconfigs.api.common.version.VersionUpdater
VersionUpdater.VersionBuilder -
Method Summary
Modifier and TypeMethodDescriptioncreateNewBuilder(KarmaSource owner)Create a new legacy version updater builderfetch(boolean force)Fetch for updatesget()Get the last update fetch result
-
Method Details
-
createNewBuilder
Create a new legacy version updater builder- Parameters:
owner- the updater source- Returns:
- a new version updater builder
-
fetch
Fetch for updates- Overrides:
fetchin classVersionUpdater- Parameters:
force- force the update instead of returning the cached result- Returns:
- the fetch result
-
get
Get the last update fetch result- Overrides:
getin classVersionUpdater- Returns:
- the last update fetch result
-