public class JIPipeRun extends Object implements JIPipeRunnable
JIPipeProject
Constructor and Description |
---|
JIPipeRun(JIPipeProject project,
JIPipeRunSettings configuration) |
Modifier and Type | Method and Description |
---|---|
void |
assignDataStoragePaths()
Iterates through output slots and assigns the data storage paths
|
JIPipeRunSettings |
getConfiguration() |
JIPipeGraph |
getGraph() |
JIPipeProgressInfo |
getProgressInfo()
The info object that allows communication with the run
|
JIPipeProject |
getProject() |
String |
getTaskLabel()
A name for the runnable
|
static JIPipeRun |
loadFromFolder(Path folder,
JIPipeIssueReport report)
Loads a JIPipeRun from a folder
|
void |
onSlotCompleted(JIPipeGraphGCHelper.SlotCompletedEvent event) |
void |
run() |
void |
setProgressInfo(JIPipeProgressInfo progressInfo)
Sets the progress info of this runnable
|
public JIPipeRun(JIPipeProject project, JIPipeRunSettings configuration)
project
- The projectconfiguration
- Run configurationpublic static JIPipeRun loadFromFolder(Path folder, JIPipeIssueReport report) throws IOException
folder
- Folder containing the runIOException
- Triggered by ObjectMapper
public JIPipeProject getProject()
public void assignDataStoragePaths()
public void onSlotCompleted(JIPipeGraphGCHelper.SlotCompletedEvent event)
public JIPipeGraph getGraph()
public JIPipeRunSettings getConfiguration()
public JIPipeProgressInfo getProgressInfo()
JIPipeRunnable
getProgressInfo
in interface JIPipeRunnable
public void setProgressInfo(JIPipeProgressInfo progressInfo)
JIPipeRunnable
setProgressInfo
in interface JIPipeRunnable
progressInfo
- the info objectpublic String getTaskLabel()
JIPipeRunnable
getTaskLabel
in interface JIPipeRunnable
Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.