public class JIPipeProjectRun extends Object implements JIPipeRunnable, JIPipeGraphGCHelper.SlotCompletedEventListener
JIPipeProject
JIPipeRunnable.EnqeuedEventListener, JIPipeRunnable.EnqueuedEvent, JIPipeRunnable.EnqueuedEventEmitter, JIPipeRunnable.FinishedEvent, JIPipeRunnable.FinishedEventEmitter, JIPipeRunnable.FinishedEventListener, JIPipeRunnable.InterruptedEvent, JIPipeRunnable.InterruptedEventEmitter, JIPipeRunnable.InterruptedEventListener, JIPipeRunnable.ProgressEvent, JIPipeRunnable.ProgressEventEmitter, JIPipeRunnable.ProgressEventListener, JIPipeRunnable.StartedEvent, JIPipeRunnable.StartedEventEmitter, JIPipeRunnable.StartedEventListener
Constructor and Description |
---|
JIPipeProjectRun(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 JIPipeProjectRun |
loadFromFolder(Path folder,
JIPipeIssueReport report,
JIPipeNotificationInbox notifications)
Loads a JIPipeProjectRun from a folder
|
void |
onGCSlotCompletedEvent(JIPipeGraphGCHelper.SlotCompletedEvent event) |
void |
run() |
void |
setProgressInfo(JIPipeProgressInfo progressInfo)
Sets the progress info of this runnable
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onFinished, onInterrupted
public JIPipeProjectRun(JIPipeProject project, JIPipeRunSettings configuration)
project
- The projectconfiguration
- Run configurationpublic static JIPipeProjectRun loadFromFolder(Path folder, JIPipeIssueReport report, JIPipeNotificationInbox notifications) throws IOException
folder
- Folder containing the runnotifications
- notifications for the userIOException
- Triggered by ObjectMapper
public JIPipeProject getProject()
public void assignDataStoragePaths()
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
public void onGCSlotCompletedEvent(JIPipeGraphGCHelper.SlotCompletedEvent event)
onGCSlotCompletedEvent
in interface JIPipeGraphGCHelper.SlotCompletedEventListener
Copyright © 2020–2023 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.