public final class MessageBuilder extends Object
Constructor and Description |
---|
MessageBuilder() |
Modifier and Type | Method and Description |
---|---|
MessageAppender |
build() |
MessageBuilder |
onUpdated(Consumer<Integer> callback) |
MessageBuilder |
withColumn(int column) |
MessageBuilder |
withFile(String file) |
MessageBuilder |
withLevel(Message.Level level) |
MessageBuilder |
withLine(int line) |
MessageBuilder |
withOwnerId(String ownerId) |
MessageBuilder |
withProgress(BigDecimal progress) |
MessageBuilder |
withSequence(int sequence) |
MessageBuilder |
withText(String text) |
MessageBuilder |
withThrowable(Throwable throwable) |
MessageBuilder |
withTimeStamp(Date timeStamp) |
public MessageBuilder withThrowable(Throwable throwable)
public MessageBuilder withText(String text)
public MessageBuilder withLevel(Message.Level level)
public MessageBuilder withLine(int line)
public MessageBuilder withColumn(int column)
public MessageBuilder withTimeStamp(Date timeStamp)
public MessageBuilder withSequence(int sequence)
public MessageBuilder withOwnerId(String ownerId)
public MessageBuilder withFile(String file)
public MessageBuilder withProgress(BigDecimal progress)
public MessageBuilder onUpdated(Consumer<Integer> callback)
public MessageAppender build()
Copyright © 2010–2024 The DAISY Consortium. All rights reserved.