public class FlowUpdater
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
FlowUpdater.FlowUpdaterBuilder
Builder of
FlowUpdater . |
Modifier and Type | Field and Description |
---|---|
static fr.flowarg.flowlogger.ILogger |
DEFAULT_LOGGER
Default logger, null for path argument = no file logger
|
static IProgressCallback |
NULL_CALLBACK
Default callback
|
Modifier and Type | Method and Description |
---|---|
IProgressCallback |
getCallback() |
DownloadInfos |
getDownloadInfos() |
java.util.List<ExternalFile> |
getExternalFiles() |
FabricVersion |
getFabricVersion() |
AbstractForgeVersion |
getForgeVersion() |
fr.flowarg.flowlogger.ILogger |
getLogger() |
java.util.List<java.lang.Runnable> |
getPostExecutions() |
UpdaterOptions |
getUpdaterOptions() |
VanillaVersion |
getVersion() |
void |
update(java.io.File dir)
Deprecated.
Prefer using
update(Path) . Will be deleted soon! |
void |
update(java.nio.file.Path dir)
This method updates the Minecraft Installation in the given directory.
|
public static final IProgressCallback NULL_CALLBACK
public static final fr.flowarg.flowlogger.ILogger DEFAULT_LOGGER
@Deprecated public void update(java.io.File dir) throws java.lang.Exception
update(Path)
. Will be deleted soon!version
is VanillaVersion.NULL_VERSION
, the updater will
run only external files and post executions.dir
- Directory where is the Minecraft installation.java.io.IOException
- if an I/O problem occurred.java.lang.Exception
public void update(java.nio.file.Path dir) throws java.lang.Exception
version
is VanillaVersion.NULL_VERSION
, the updater will
run only external files and post executions.dir
- Directory where is the Minecraft installation.java.io.IOException
- if an I/O problem occurred.java.lang.Exception
public VanillaVersion getVersion()
public fr.flowarg.flowlogger.ILogger getLogger()
public AbstractForgeVersion getForgeVersion()
public IProgressCallback getCallback()
public java.util.List<ExternalFile> getExternalFiles()
public java.util.List<java.lang.Runnable> getPostExecutions()
public DownloadInfos getDownloadInfos()
public UpdaterOptions getUpdaterOptions()
public FabricVersion getFabricVersion()