public class REasyInstaller extends EasyInstallExternalEnvironmentInstaller<REnvironment>
Constructor and Description |
---|
REasyInstaller(JIPipeWorkbench workbench,
JIPipeParameterAccess parameterAccess) |
Modifier and Type | Method and Description |
---|---|
protected void |
executePostprocess()
Postprocessing steps (optional) that are executed after the extraction of the archive
|
protected REnvironment |
generateEnvironment()
Generates the final environment.
|
HTMLText |
getDialogDescription()
The description of the installation dialog
|
String |
getDialogHeading()
The heading of the installation dialog
|
List<String> |
getRepositories()
This method should return all repositories that are available
|
String |
getTaskLabel()
A name for the runnable
|
protected void |
writeEnvironmentToParameters(REnvironment environment,
JIPipeParameterAccess parameterAccess)
This method should write the environment to the parameter access
Will be executed on the Swing thread (via invokeLater)
|
getAbsoluteInstallationPath, getAvailablePackages, getInstalledEnvironment, getProgressInfo, getRelativeInstallationPath, getTargetPackage, run, setProgressInfo
getParameterAccess, getWorkbench
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onFinished, onInterrupted, onProgress, onStarted
public REasyInstaller(JIPipeWorkbench workbench, JIPipeParameterAccess parameterAccess)
workbench
- the workbenchparameterAccess
- the parameter access that will receive the generated environmentpublic String getTaskLabel()
JIPipeRunnable
public List<String> getRepositories()
EasyInstallExternalEnvironmentInstaller
getRepositories
in class EasyInstallExternalEnvironmentInstaller<REnvironment>
public String getDialogHeading()
EasyInstallExternalEnvironmentInstaller
getDialogHeading
in class EasyInstallExternalEnvironmentInstaller<REnvironment>
public HTMLText getDialogDescription()
EasyInstallExternalEnvironmentInstaller
getDialogDescription
in class EasyInstallExternalEnvironmentInstaller<REnvironment>
protected void writeEnvironmentToParameters(REnvironment environment, JIPipeParameterAccess parameterAccess)
EasyInstallExternalEnvironmentInstaller
writeEnvironmentToParameters
in class EasyInstallExternalEnvironmentInstaller<REnvironment>
environment
- the environmentparameterAccess
- the parameterprotected void executePostprocess()
EasyInstallExternalEnvironmentInstaller
executePostprocess
in class EasyInstallExternalEnvironmentInstaller<REnvironment>
protected REnvironment generateEnvironment()
EasyInstallExternalEnvironmentInstaller
generateEnvironment
in class EasyInstallExternalEnvironmentInstaller<REnvironment>
Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.