Class GithubBranchUpdater
java.lang.Object
io.github.projectunified.mcserverupdater.api.GithubBranchUpdater
- All Implemented Interfaces:
Checksum,InputStreamUpdater,SimpleChecksum,Updater
- Direct Known Subclasses:
PatinaUpdater
public abstract class GithubBranchUpdater
extends Object
implements SimpleChecksum, InputStreamUpdater
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final UpdateBuilderprotected final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGithubBranchUpdater(VersionQuery versionQuery, String repo) -
Method Summary
Modifier and TypeMethodDescriptionabstract StringgetCurrentChecksum(File file) abstract Stringabstract PatternvoidsetChecksum(File file) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.projectunified.mcserverupdater.api.InputStreamUpdater
updateMethods inherited from interface io.github.projectunified.mcserverupdater.api.SimpleChecksum
checksum
-
Field Details
-
updateBuilder
-
version
-
build
-
-
Constructor Details
-
GithubBranchUpdater
-
-
Method Details
-
getBranch
-
getFilePattern
-
getDefaultVersion
-
getChecksum
- Specified by:
getChecksumin interfaceSimpleChecksum
-
setChecksum
- Specified by:
setChecksumin interfaceChecksum- Throws:
Exception
-
getInputStream
- Specified by:
getInputStreamin interfaceInputStreamUpdater
-
getCurrentChecksum
- Specified by:
getCurrentChecksumin interfaceSimpleChecksum- Throws:
Exception
-
getDebugConsumer
- Specified by:
getDebugConsumerin interfaceUpdater
-