Expose some variables to Updater subclass
This commit is contained in:
parent
108265dc38
commit
d582f30e66
1 changed files with 5 additions and 6 deletions
|
@ -1,9 +1,8 @@
|
|||
package eu.m724.jarupdater;
|
||||
package eu.m724.jarupdater.updater;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.nio.file.NoSuchFileException;
|
||||
import java.security.SignatureException;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
import java.util.concurrent.CompletionException;
|
||||
|
@ -14,11 +13,11 @@ import eu.m724.jarupdater.live.MetadataFacade;
|
|||
import eu.m724.jarupdater.object.Version;
|
||||
|
||||
public class Updater {
|
||||
private Environment environment;
|
||||
private MetadataFacade metadataProvider;
|
||||
private Downloader downloader;
|
||||
protected Environment environment;
|
||||
protected MetadataFacade metadataProvider;
|
||||
protected Downloader downloader;
|
||||
|
||||
private CompletableFuture<File> downloaded;
|
||||
protected CompletableFuture<File> downloaded;
|
||||
|
||||
public Updater(Environment environment, MetadataFacade metadataProvider, Downloader downloader) {
|
||||
this.environment = environment;
|
Loading…
Reference in a new issue