public interface JIPipeRunnable extends Runnable
Modifier and Type | Method and Description |
---|---|
JIPipeProgressInfo |
getProgressInfo()
The info object that allows communication with the run
|
UUID |
getRunUUID()
Unique ID of this run
|
String |
getTaskLabel()
A name for the runnable
|
default boolean |
isLogSilent()
Determines if this run is being logged silently
|
default void |
onFinished(JIPipeRunnable.FinishedEvent event)
Called when this runnable finishes
|
default void |
onInterrupted(JIPipeRunnable.InterruptedEvent event)
Called when this runnable is interrupted
|
void |
setProgressInfo(JIPipeProgressInfo progressInfo)
Sets the progress info of this runnable
|
UUID getRunUUID()
JIPipeProgressInfo getProgressInfo()
void setProgressInfo(JIPipeProgressInfo progressInfo)
progressInfo
- the info objectString getTaskLabel()
default boolean isLogSilent()
default void onFinished(JIPipeRunnable.FinishedEvent event)
event
- the eventdefault void onInterrupted(JIPipeRunnable.InterruptedEvent event)
event
- the eventCopyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.