public class PythonEnvironment extends JIPipeArtifactEnvironment
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) |
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, 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 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 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 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.