public class PythonEnvironment extends JIPipeEnvironment
Modifier and Type | Class and Description |
---|---|
static class |
PythonEnvironment.List
A list of
PythonEnvironment |
static class |
PythonEnvironment.PythonArgumentsVariablesInfo |
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 |
---|
PythonEnvironment() |
PythonEnvironment(PythonEnvironment other) |
PythonEnvironment(PythonEnvironmentType type,
JIPipeExpressionParameter arguments,
Path executablePath) |
Modifier and Type | Method and Description |
---|---|
Path |
getAbsoluteExecutablePath() |
JIPipeExpressionParameter |
getArguments() |
StringQueryExpressionAndStringPairParameter.List |
getEnvironmentVariables() |
Path |
getExecutablePath() |
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).
|
PythonEnvironmentType |
getType() |
void |
reportValidity(JIPipeValidationReportContext reportContext,
JIPipeValidationReport report)
Generates a validity report
|
void |
setArguments(JIPipeExpressionParameter arguments) |
void |
setEnvironmentVariables(StringQueryExpressionAndStringPairParameter.List environmentVariables) |
void |
setExecutablePath(Path executablePath) |
void |
setType(PythonEnvironmentType type) |
String |
toString() |
getName, getSource, getVersion, setName, setSource, setVersion
getParameterChangedEventEmitter, getParameterStructureChangedEventEmitter, getParameterUIChangedEventEmitter, onParameterChanged, onParameterStructureChanged, onParameterUIChanged, registerSubParameter, registerSubParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
generateValidityReport
emitParameterChangedEvent, emitParameterStructureChangedEvent, emitParameterUIChangedEvent, getContextActions, getParameter, getParameterAccess, installUIOverrideParameterEditor, installUIParameterOptions, isParameterUIVisible, isParameterUIVisible, setParameter
public static final String ENVIRONMENT_ID
public PythonEnvironment()
public PythonEnvironment(PythonEnvironmentType type, JIPipeExpressionParameter arguments, Path executablePath)
public PythonEnvironment(PythonEnvironment other)
public PythonEnvironmentType getType()
public void setType(PythonEnvironmentType type)
public JIPipeExpressionParameter getArguments()
public void setArguments(JIPipeExpressionParameter arguments)
public Path getExecutablePath()
public void setExecutablePath(Path executablePath)
public Path getAbsoluteExecutablePath()
public StringQueryExpressionAndStringPairParameter.List getEnvironmentVariables()
public void setEnvironmentVariables(StringQueryExpressionAndStringPairParameter.List environmentVariables)
public void reportValidity(JIPipeValidationReportContext reportContext, JIPipeValidationReport report)
JIPipeValidatable
reportContext
- the report contextreport
- the report to be added topublic Icon getIcon()
JIPipeEnvironment
getIcon
in class JIPipeEnvironment
public String getInfo()
JIPipeEnvironment
getInfo
in class JIPipeEnvironment
Copyright © 2020–2024 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.