public class QuickRun extends Object implements JIPipeRunnable, JIPipeValidatable
Constructor and Description |
---|
QuickRun(JIPipeProject project,
JIPipeGraphNode targetNode,
QuickRunSettings settings) |
Modifier and Type | Method and Description |
---|---|
JIPipeProgressInfo |
getProgressInfo()
The info object that allows communication with the run
|
JIPipeProject |
getProject()
The project where the run was created
|
JIPipeProjectRun |
getRun()
The run that runs the pipeline
|
QuickRunSettings |
getSettings()
Settings for this quick run
|
JIPipeGraphNode |
getTargetNode()
The node targeted to be executed
In project graph
|
JIPipeGraphNode |
getTargetNodeCopy()
Copy of the targeted node (in the run's graph)
|
String |
getTaskLabel()
A name for the runnable
|
void |
reportValidity(JIPipeIssueReport report)
Generates a validity report
|
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, onProgress, onStarted
generateValidityReport
public QuickRun(JIPipeProject project, JIPipeGraphNode targetNode, QuickRunSettings settings)
project
- The projecttargetNode
- The tested algorithmsettings
- The settingspublic JIPipeProject getProject()
public JIPipeGraphNode getTargetNode()
public QuickRunSettings getSettings()
public JIPipeProjectRun getRun()
public JIPipeGraphNode getTargetNodeCopy()
public void reportValidity(JIPipeIssueReport report)
JIPipeValidatable
reportValidity
in interface JIPipeValidatable
report
- the report to be added topublic 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.