Package net.realdarkstudios.commons
Class RDSCommonsUpdater
java.lang.Object
net.realdarkstudios.commons.util.AutoUpdater
net.realdarkstudios.commons.RDSCommonsUpdater
-
Nested Class Summary
Nested classes/interfaces inherited from class net.realdarkstudios.commons.util.AutoUpdater
AutoUpdater.Parser -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voidstatusBehind(Version newVer, String newVerInput) protected voidMethods inherited from class net.realdarkstudios.commons.util.AutoUpdater
applyUpdate, checkForUpdate, getLastCheckResult, getNewestVersion, getParser, getReplacements, hasUpdate, ioExceptionHandler, parseMavenMetadata, parseVersion, setParser, setReplacements, updateBranch
-
Constructor Details
-
RDSCommonsUpdater
public RDSCommonsUpdater()Creates an auto-updater for a given Plugin. There is no need to create more than one auto updater, as this may have bad consequences.
-
-
Method Details
-
statusBehind
- Specified by:
statusBehindin classAutoUpdater
-
statusUpToDate
protected void statusUpToDate()- Specified by:
statusUpToDatein classAutoUpdater
-
statusAhead
protected void statusAhead()- Specified by:
statusAheadin classAutoUpdater
-
errorChecking
protected void errorChecking()- Specified by:
errorCheckingin classAutoUpdater
-