public abstract class JIPipeArtifactEnvironment extends JIPipeEnvironment
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterChangedEventEmitter, JIPipeParameterCollection.ParameterChangedEventListener, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEventEmitter, JIPipeParameterCollection.ParameterStructureChangedEventListener, JIPipeParameterCollection.ParameterUIChangedEvent, JIPipeParameterCollection.ParameterUIChangedEventEmitter, JIPipeParameterCollection.ParameterUIChangedEventListener
Constructor and Description |
---|
JIPipeArtifactEnvironment() |
JIPipeArtifactEnvironment(JIPipeArtifactEnvironment other) |
Modifier and Type | Method and Description |
---|---|
abstract void |
applyConfigurationFromArtifact(JIPipeLocalArtifact artifact,
JIPipeProgressInfo progressInfo)
Applies the artifact configuration to the current environment if isLoadFromArtifact() is true
|
void |
applyConfigurationFromArtifactAndSetLastArtifact(JIPipeLocalArtifact artifact,
JIPipeProgressInfo progressInfo)
Applies the artifact configuration to the current environment if isLoadFromArtifact() is true
Also sets the last loaded artifact
|
JIPipeArtifactQueryParameter |
getArtifactQuery() |
JIPipeLocalArtifact |
getLastConfiguredArtifact() |
boolean |
isLoadFromArtifact() |
boolean |
isParameterUIVisible(JIPipeParameterTree tree,
JIPipeParameterAccess access)
Allows to override the visibility of parameters inside the UI
|
void |
setArtifactQuery(JIPipeArtifactQueryParameter artifactQuery) |
void |
setLastConfiguredArtifact(JIPipeLocalArtifact lastConfiguredArtifact) |
void |
setLoadFromArtifact(boolean loadFromArtifact) |
getIcon, getInfo, 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, reportValidity
deserializeFromJsonNode, emitParameterChangedEvent, emitParameterStructureChangedEvent, emitParameterUIChangedEvent, getContextActions, getParameter, getParameterAccess, installUIOverrideParameterEditor, installUIParameterOptions, isParameterUIVisible, serializeToJsonFile, serializeToJsonGenerator, serializeToJsonString, setParameter
public JIPipeArtifactEnvironment()
public JIPipeArtifactEnvironment(JIPipeArtifactEnvironment other)
public boolean isLoadFromArtifact()
public void setLoadFromArtifact(boolean loadFromArtifact)
public JIPipeArtifactQueryParameter getArtifactQuery()
public void setArtifactQuery(JIPipeArtifactQueryParameter artifactQuery)
public boolean isParameterUIVisible(JIPipeParameterTree tree, JIPipeParameterAccess access)
JIPipeParameterCollection
tree
- the parameter tree that is used to access this parameteraccess
- the parameterpublic void applyConfigurationFromArtifactAndSetLastArtifact(JIPipeLocalArtifact artifact, JIPipeProgressInfo progressInfo)
artifact
- the artifactprogressInfo
- the progress infopublic abstract void applyConfigurationFromArtifact(JIPipeLocalArtifact artifact, JIPipeProgressInfo progressInfo)
public JIPipeLocalArtifact getLastConfiguredArtifact()
public void setLastConfiguredArtifact(JIPipeLocalArtifact lastConfiguredArtifact)
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.