public class JIPipeRunnableLogsCollection extends Object implements JIPipeRunnable.FinishedEventListener, JIPipeRunnable.InterruptedEventListener
Modifier and Type | Class and Description |
---|---|
static class |
JIPipeRunnableLogsCollection.LogClearedEvent |
static class |
JIPipeRunnableLogsCollection.LogClearedEventEmitter |
static interface |
JIPipeRunnableLogsCollection.LogClearedEventListener |
static class |
JIPipeRunnableLogsCollection.LogEntryAddedEvent |
static class |
JIPipeRunnableLogsCollection.LogEntryAddedEventEmitter |
static interface |
JIPipeRunnableLogsCollection.LogEntryAddedEventListener |
static class |
JIPipeRunnableLogsCollection.LogUpdatedEvent |
static class |
JIPipeRunnableLogsCollection.LogUpdatedEventEmitter |
static interface |
JIPipeRunnableLogsCollection.LogUpdatedEventListener |
Constructor and Description |
---|
JIPipeRunnableLogsCollection() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
static JIPipeRunnableLogsCollection |
getInstance() |
JIPipeRunnableLogsCollection.LogClearedEventEmitter |
getLogClearedEventEmitter() |
List<JIPipeRunnableLogEntry> |
getLogEntries() |
JIPipeRunnableLogsCollection.LogEntryAddedEventEmitter |
getLogEntryAddedEventEmitter() |
JIPipeRunnableLogsCollection.LogUpdatedEventEmitter |
getLogUpdatedEventEmitter() |
void |
markAllAsRead() |
void |
markAsRead(JIPipeRunnableLogEntry logEntry) |
void |
onRunnableFinished(JIPipeRunnable.FinishedEvent event) |
void |
onRunnableInterrupted(JIPipeRunnable.InterruptedEvent event) |
void |
pushToLog(JIPipeRunnableLogEntry entry) |
public static JIPipeRunnableLogsCollection getInstance()
public JIPipeRunnableLogsCollection.LogEntryAddedEventEmitter getLogEntryAddedEventEmitter()
public JIPipeRunnableLogsCollection.LogClearedEventEmitter getLogClearedEventEmitter()
public List<JIPipeRunnableLogEntry> getLogEntries()
public void clear()
public void pushToLog(JIPipeRunnableLogEntry entry)
public void markAllAsRead()
public void markAsRead(JIPipeRunnableLogEntry logEntry)
public void onRunnableFinished(JIPipeRunnable.FinishedEvent event)
onRunnableFinished
in interface JIPipeRunnable.FinishedEventListener
public void onRunnableInterrupted(JIPipeRunnable.InterruptedEvent event)
onRunnableInterrupted
in interface JIPipeRunnable.InterruptedEventListener
public JIPipeRunnableLogsCollection.LogUpdatedEventEmitter getLogUpdatedEventEmitter()
Copyright © 2020–2024 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.