public interface JIPipeDataContext
Modifier and Type | Method and Description |
---|---|
default JIPipeDataContext |
branch(JIPipeGraphNode source)
Returns a new context that contains the current one as predecessor
|
default JIPipeDataContext |
branch(String source)
Returns a new context that contains the current one as predecessor
|
static JIPipeDataContext |
create(JIPipeGraphNode graphNode,
JIPipeDataContext... predecessors)
Creates a new data context
|
static JIPipeDataContext |
create(String source,
JIPipeDataContext... predecessors)
Creates a new data context
|
String |
getId()
Gets the ID of the context
|
Set<String> |
getPredecessors()
Gets the known predecessors
|
String |
getSource()
The ID of the creator of this context
|
static JIPipeDataContext create(String source, JIPipeDataContext... predecessors)
source
- the sourcepredecessors
- the predecessorsstatic JIPipeDataContext create(JIPipeGraphNode graphNode, JIPipeDataContext... predecessors)
graphNode
- the sourcepredecessors
- the predecessorsString getId()
String getSource()
default JIPipeDataContext branch(String source)
source
- the unique source IDdefault JIPipeDataContext branch(JIPipeGraphNode source)
source
- the node as sourceCopyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.