public abstract class AbstractMessageAccessor extends MessageAccessor
MessageAccessor.MessageFilter
Constructor and Description |
---|
AbstractMessageAccessor(Message.Level threshold) |
Modifier and Type | Method and Description |
---|---|
protected abstract Iterable<Message> |
allMessages()
Must return a (mutable) iterable that contains all messages (which are mutable) received
up till now.
|
MessageAccessor.MessageFilter |
createFilter() |
List<Message> |
getAll()
Gets the messgages from a set of levels
|
BigDecimal |
getProgress() |
getDebugs, getErrors, getInfos, getTraces, getWarnings, listen, unlisten
public AbstractMessageAccessor(Message.Level threshold)
protected abstract Iterable<Message> allMessages()
public List<Message> getAll()
MessageAccessor
getAll
in class MessageAccessor
public BigDecimal getProgress()
getProgress
in class MessageAccessor
public MessageAccessor.MessageFilter createFilter()
createFilter
in class MessageAccessor
Copyright © 2010–2024 The DAISY Consortium. All rights reserved.