public abstract class JIPipeProcessArtifactEnvironment extends JIPipeArtifactEnvironment
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterChangedEventEmitter, JIPipeParameterCollection.ParameterChangedEventListener, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEventEmitter, JIPipeParameterCollection.ParameterStructureChangedEventListener, JIPipeParameterCollection.ParameterUIChangedEvent, JIPipeParameterCollection.ParameterUIChangedEventEmitter, JIPipeParameterCollection.ParameterUIChangedEventListener
Constructor and Description |
---|
JIPipeProcessArtifactEnvironment() |
JIPipeProcessArtifactEnvironment(JIPipeProcessArtifactEnvironment other) |
applyConfigurationFromArtifact, 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 JIPipeProcessArtifactEnvironment()
public JIPipeProcessArtifactEnvironment(JIPipeProcessArtifactEnvironment other)
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 abstract Icon getNonArtifactIcon()
public Icon getIcon()
JIPipeEnvironment
getIcon
in class JIPipeEnvironment
public String getInfo()
JIPipeEnvironment
getInfo
in class JIPipeEnvironment
public void runExecutable(List<String> args, Map<String,String> additionalEnvironmentVariables, boolean detached, JIPipeProgressInfo progressInfo)
args
- the arguments/cli parametersadditionalEnvironmentVariables
- additional environment variablesdetached
- run process detachedprogressInfo
- the progress infoCopyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.