public class REnvironment extends JIPipeArtifactEnvironment
Modifier and Type | Class and Description |
---|---|
static class |
REnvironment.List
A list of
REnvironment |
static class |
REnvironment.RArgumentsVariablesInfo |
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterChangedEventEmitter, JIPipeParameterCollection.ParameterChangedEventListener, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEventEmitter, JIPipeParameterCollection.ParameterStructureChangedEventListener, JIPipeParameterCollection.ParameterUIChangedEvent, JIPipeParameterCollection.ParameterUIChangedEventEmitter, JIPipeParameterCollection.ParameterUIChangedEventListener
Modifier and Type | Field and Description |
---|---|
static String |
ENVIRONMENT_ID |
Constructor and Description |
---|
REnvironment() |
REnvironment(REnvironment other) |
Modifier and Type | Method and Description |
---|---|
void |
applyConfigurationFromArtifact(JIPipeLocalArtifact artifact,
JIPipeProgressInfo progressInfo)
Applies the artifact configuration to the current environment if isLoadFromArtifact() is true
|
JIPipeExpressionParameter |
getArguments() |
StringQueryExpressionAndStringPairParameter.List |
getEnvironmentVariables() |
Icon |
getIcon()
Returns the icon displayed in the UI for the current status
|
String |
getInfo()
Returns more detailed information (e.g., the executed script environment path).
|
Path |
getRExecutablePath() |
Path |
getRScriptExecutablePath() |
boolean |
isParameterUIVisible(JIPipeParameterTree tree,
JIPipeParameterAccess access)
Allows to override the visibility of parameters inside the UI
|
void |
reportValidity(JIPipeValidationReportContext reportContext,
JIPipeValidationReport report)
Generates a validity report
|
void |
setArguments(JIPipeExpressionParameter arguments) |
void |
setEnvironmentVariables(StringQueryExpressionAndStringPairParameter.List environmentVariables) |
void |
setRExecutablePath(Path RExecutablePath) |
void |
setRScriptExecutablePath(Path RScriptExecutablePath) |
applyConfigurationFromArtifactAndSetLastArtifact, getArtifactQuery, getLastConfiguredArtifact, isLoadFromArtifact, setArtifactQuery, setLastConfiguredArtifact, setLoadFromArtifact
getName, getSource, getVersion, setName, setSource, setVersion
getParameterChangedEventEmitter, getParameterStructureChangedEventEmitter, getParameterUIChangedEventEmitter, onParameterChanged, onParameterStructureChanged, onParameterUIChanged, registerSubParameter, registerSubParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
generateValidityReport
deserializeFromJsonNode, emitParameterChangedEvent, emitParameterStructureChangedEvent, emitParameterUIChangedEvent, getContextActions, getParameter, getParameterAccess, installUIOverrideParameterEditor, installUIParameterOptions, isParameterUIVisible, serializeToJsonFile, serializeToJsonGenerator, serializeToJsonString, setParameter
public static final String ENVIRONMENT_ID
public REnvironment()
public REnvironment(REnvironment other)
public void reportValidity(JIPipeValidationReportContext reportContext, JIPipeValidationReport report)
JIPipeValidatable
reportContext
- the report contextreport
- the report to be added topublic boolean isParameterUIVisible(JIPipeParameterTree tree, JIPipeParameterAccess access)
JIPipeParameterCollection
isParameterUIVisible
in interface JIPipeParameterCollection
isParameterUIVisible
in class JIPipeArtifactEnvironment
tree
- the parameter tree that is used to access this parameteraccess
- the parameterpublic void applyConfigurationFromArtifact(JIPipeLocalArtifact artifact, JIPipeProgressInfo progressInfo)
JIPipeArtifactEnvironment
applyConfigurationFromArtifact
in class JIPipeArtifactEnvironment
public Path getRExecutablePath()
public void setRExecutablePath(Path RExecutablePath)
public Path getRScriptExecutablePath()
public void setRScriptExecutablePath(Path RScriptExecutablePath)
public JIPipeExpressionParameter getArguments()
public void setArguments(JIPipeExpressionParameter arguments)
public StringQueryExpressionAndStringPairParameter.List getEnvironmentVariables()
public void setEnvironmentVariables(StringQueryExpressionAndStringPairParameter.List environmentVariables)
public Icon getIcon()
JIPipeEnvironment
getIcon
in class JIPipeEnvironment
public String getInfo()
JIPipeEnvironment
getInfo
in class JIPipeEnvironment
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.