Class FallbackUpdater
- java.lang.Object
-
- de.dytanic.cloudnet.launcher.version.DefaultVersionInfo
-
- de.dytanic.cloudnet.launcher.version.InstalledVersionInfo
-
- de.dytanic.cloudnet.launcher.version.update.FallbackUpdater
-
- All Implemented Interfaces:
Updater,VersionInfo
public class FallbackUpdater extends InstalledVersionInfo implements Updater
-
-
Field Summary
-
Fields inherited from class de.dytanic.cloudnet.launcher.version.DefaultVersionInfo
appVersion, gitHubRepository, releaseTimestamp, repositoryVersion, targetDirectory
-
-
Constructor Summary
Constructors Constructor Description FallbackUpdater(java.nio.file.Path targetDirectory, java.lang.String gitHubRepository)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleaninit(java.nio.file.Path versionDirectory, java.lang.String githubRepository)booleaninstallFile(java.lang.String name, java.nio.file.Path path)-
Methods inherited from class de.dytanic.cloudnet.launcher.version.DefaultVersionInfo
getCurrentVersion, getGitHubRepository, getReleaseTimestamp, getRepositoryVersion, getTargetDirectory
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.dytanic.cloudnet.launcher.version.update.Updater
installUpdate
-
Methods inherited from interface de.dytanic.cloudnet.launcher.version.VersionInfo
getCurrentVersion, getFullVersion, getGitHubRepository, getReleaseTimestamp, getRepositoryVersion, getTargetDirectory
-
-
-
-
Method Detail
-
init
public boolean init(java.nio.file.Path versionDirectory, java.lang.String githubRepository)
-
installFile
public boolean installFile(java.lang.String name, java.nio.file.Path path)- Specified by:
installFilein interfaceUpdater
-
-