public class RExtensionSettings extends Object implements ExternalEnvironmentSettings
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterUIChangedEvent| Constructor and Description |
|---|
RExtensionSettings() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkRSettings()
Checks if the R settings are valid or throws an exception
|
static void |
checkRSettings(JIPipeIssueReport report)
Checks if the R settings are valid or reports an invalid state
|
StringList |
getEasyInstallerRepositories() |
REnvironment |
getEnvironment() |
EventBus |
getEventBus()
Gets the event bus that posts events about the parameters
|
static RExtensionSettings |
getInstance() |
REnvironment.List |
getPresets() |
List<ExternalEnvironment> |
getPresetsListInterface(Class<?> environmentClass)
Returns the presets.
|
static boolean |
RSettingsAreValid()
Checks the R settings
|
void |
setEasyInstallerRepositories(StringList easyInstallerRepositories) |
void |
setEnvironment(REnvironment environment) |
void |
setPresets(REnvironment.List presets) |
void |
setPresetsListInterface(List<ExternalEnvironment> presets,
Class<?> environmentClass)
Sets the presets
This is an interface class for easy access
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddParameterChangeListener, addParameterChangeListener, getContextActions, getParameter, getParameterAccess, installUIOverrideParameterEditor, installUIParameterOptions, isParameterUIVisible, isParameterUIVisible, setParameter, triggerParameterChange, triggerParameterStructureChange, triggerParameterUIChangepublic static String ID
public static RExtensionSettings getInstance()
public static void checkRSettings()
public static void checkRSettings(JIPipeIssueReport report)
report - the reportpublic static boolean RSettingsAreValid()
public EventBus getEventBus()
JIPipeParameterCollectiongetEventBus in interface JIPipeParameterCollectionJIPipeParameterCollection.ParameterChangedEvent and JIPipeParameterCollection.ParameterStructureChangedEventpublic REnvironment getEnvironment()
public void setEnvironment(REnvironment environment)
public REnvironment.List getPresets()
public void setPresets(REnvironment.List presets)
public StringList getEasyInstallerRepositories()
public void setEasyInstallerRepositories(StringList easyInstallerRepositories)
public List<ExternalEnvironment> getPresetsListInterface(Class<?> environmentClass)
ExternalEnvironmentSettingsgetPresetsListInterface in interface ExternalEnvironmentSettingspublic void setPresetsListInterface(List<ExternalEnvironment> presets, Class<?> environmentClass)
ExternalEnvironmentSettingssetPresetsListInterface in interface ExternalEnvironmentSettingspresets - the presetsCopyright © 2020–2023 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.