public class PythonEnvironment extends JIPipeExternalEnvironment
Modifier and Type | Class and Description |
---|---|
static class |
PythonEnvironment.List
A list of
PythonEnvironment |
static class |
PythonEnvironment.PythonArgumentsVariableSource |
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,
DefaultExpressionParameter arguments,
Path executablePath) |
Modifier and Type | Method and Description |
---|---|
Path |
getAbsoluteExecutablePath() |
DefaultExpressionParameter |
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 context,
JIPipeValidationReport report)
Generates a validity report
|
void |
setArguments(DefaultExpressionParameter 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
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, DefaultExpressionParameter arguments, Path executablePath)
public PythonEnvironment(PythonEnvironment other)
public PythonEnvironmentType getType()
public void setType(PythonEnvironmentType type)
public DefaultExpressionParameter getArguments()
public void setArguments(DefaultExpressionParameter 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 context, JIPipeValidationReport report)
JIPipeValidatable
report
- the report to be added topublic Icon getIcon()
JIPipeExternalEnvironment
getIcon
in class JIPipeExternalEnvironment
public String getInfo()
JIPipeExternalEnvironment
getInfo
in class JIPipeExternalEnvironment
Copyright © 2020–2023 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.