public abstract class AbstractLauncher<APP> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static FXManifest |
manifest |
| Constructor and Description |
|---|
AbstractLauncher() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkIgnoreUpdateErrorSetting() |
protected void |
checkSSLIgnoreflag()
Check if the SSL connection needs to ignore the validity of the ssl certificate.
|
protected abstract void |
createApplication(Class<APP> appClass) |
protected void |
createApplicationEnvironment() |
protected ClassLoader |
createClassLoader(Path cacheDir) |
FXManifest |
getManifest() |
protected abstract javafx.application.Application.Parameters |
getParameters() |
String |
getPhase() |
protected abstract void |
reportError(String title,
Throwable error) |
void |
setPhase(String phase) |
protected abstract void |
setupClassLoader(ClassLoader classLoader) |
protected void |
setupIgnoreSSLCertificate() |
protected void |
setupLogFile()
Make java.util.logger log to a file.
|
protected boolean |
syncFiles()
Check if remote files are newer then local files.
|
protected void |
syncManifest() |
protected void |
updateManifest() |
protected abstract void |
updateProgress(double progress) |
protected static FXManifest manifest
protected void setupLogFile()
throws IOException
--logfile=logfileIOExceptionprotected void checkSSLIgnoreflag()
throws KeyManagementException,
NoSuchAlgorithmException
protected ClassLoader createClassLoader(Path cacheDir)
protected boolean syncFiles()
throws Exception
--offline commandline argument is set.Exceptionprotected void createApplicationEnvironment()
throws Exception
Exceptionprotected void setupIgnoreSSLCertificate()
throws NoSuchAlgorithmException,
KeyManagementException
protected boolean checkIgnoreUpdateErrorSetting()
public String getPhase()
public void setPhase(String phase)
public FXManifest getManifest()
protected abstract javafx.application.Application.Parameters getParameters()
protected abstract void updateProgress(double progress)
protected abstract void setupClassLoader(ClassLoader classLoader)
Copyright © 2018 SYSE. All rights reserved.