public class ConsolePublisher extends StatePublisherTask
Constructor and Description |
---|
ConsolePublisher() |
Modifier and Type | Method and Description |
---|---|
int |
getInterval() |
void |
notifyArchiveAvailable(boolean archiveAvailable)
Wird aufgerufen, wenn sich der Zustand des Archivsystems ändert
|
void |
notifyProtocolRead(long protocolId)
Wird aufgerufen, wenn ein Protokoll den Status von gelesen nach ungelesen ändert
|
void |
notifyProtocolRemoved(long protocolId)
Wird aufgerufen, nachdem ein Protokoll gelöscht wird
|
void |
notifyThreadFinished(ThreadElement threadElement)
Wird aufgerufen, wenn sich ein Auftrag beendet hat
|
protected void |
update(StatePublisher.Status status)
Wird periodisch (siehe
StatePublisherTask.getInterval() ) aufgerufen, um über den aktuellen Status zu informieren |
run, setDataSource
private static final Debug _debug
public int getInterval()
getInterval
in class StatePublisherTask
protected void update(StatePublisher.Status status)
StatePublisherTask
StatePublisherTask.getInterval()
) aufgerufen, um über den aktuellen Status zu informierenupdate
in class StatePublisherTask
status
- aktueller Statuspublic void notifyThreadFinished(ThreadElement threadElement)
StatePublisherTask
notifyThreadFinished
in class StatePublisherTask
threadElement
- Auftragpublic void notifyProtocolRemoved(long protocolId)
StatePublisherTask
notifyProtocolRemoved
in class StatePublisherTask
protocolId
- Protokoll-Idpublic void notifyProtocolRead(long protocolId)
StatePublisherTask
notifyProtocolRead
in class StatePublisherTask
protocolId
- Protokoll-Idpublic void notifyArchiveAvailable(boolean archiveAvailable)
StatePublisherTask
notifyArchiveAvailable
in class StatePublisherTask
archiveAvailable
- Ob das Archivsystem verfügbar ist, oder nicht