public class JIPipeExternalEnvironmentRegistry extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JIPipeExternalEnvironmentRegistry.InstallerEntry
An entry describing an installer
|
Constructor and Description |
---|
JIPipeExternalEnvironmentRegistry(JIPipe jiPipe) |
Modifier and Type | Method and Description |
---|---|
void |
addPreset(Class<?> environmentClass,
JIPipeEnvironment preset)
Adds a new preset into the storage of the environment class
|
List<JIPipeExternalEnvironmentRegistry.InstallerEntry> |
getInstallers(Class<? extends JIPipeEnvironment> environmentClass)
Returns a sorted list of installer items for the environment
|
JIPipe |
getJIPipe() |
List<JIPipeEnvironment> |
getPresets(Class<?> environmentClass)
Gets the presets of an environment
|
JIPipeExternalEnvironmentSettings |
getSettings(Class<?> environmentClass)
Returns the settings instance
|
void |
registerEnvironment(Class<? extends JIPipeEnvironment> environmentClass,
JIPipeExternalEnvironmentSettings settings)
Registers an environment and its corresponding settings
|
void |
registerInstaller(Class<? extends JIPipeEnvironment> environmentClass,
Class<? extends JIPipeExternalEnvironmentInstaller> installerClass,
Icon icon)
Registers an installer
|
public JIPipeExternalEnvironmentRegistry(JIPipe jiPipe)
public JIPipe getJIPipe()
public void registerEnvironment(Class<? extends JIPipeEnvironment> environmentClass, JIPipeExternalEnvironmentSettings settings)
environmentClass
- the environmentsettings
- the settingspublic void registerInstaller(Class<? extends JIPipeEnvironment> environmentClass, Class<? extends JIPipeExternalEnvironmentInstaller> installerClass, Icon icon)
environmentClass
- the environmentinstallerClass
- the installericon
- icon for the installerpublic List<JIPipeExternalEnvironmentRegistry.InstallerEntry> getInstallers(Class<? extends JIPipeEnvironment> environmentClass)
environmentClass
- the environmentpublic JIPipeExternalEnvironmentSettings getSettings(Class<?> environmentClass)
environmentClass
- the environment classpublic List<JIPipeEnvironment> getPresets(Class<?> environmentClass)
environmentClass
- the environment classpublic void addPreset(Class<?> environmentClass, JIPipeEnvironment preset)
environmentClass
- the environment classpreset
- the presetCopyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.