public interface MessageBuilder
MessageUtils| Modifier and Type | Method and Description |
|---|---|
MessageBuilder |
a(char[] value)
Append content to the message buffer.
|
MessageBuilder |
a(char[] value,
int offset,
int len)
Append content to the message buffer.
|
MessageBuilder |
a(CharSequence value)
Append content to the message buffer.
|
MessageBuilder |
a(CharSequence value,
int start,
int end)
Append content to the message buffer.
|
MessageBuilder |
a(Object value)
Append content to the message buffer.
|
MessageBuilder |
failure(Object message)
Append message content in failure style.
|
MessageBuilder |
format(String pattern,
Object... args)
Append formatted content to the buffer.
|
MessageBuilder |
mojo(Object message)
Append message content in mojo style.
|
MessageBuilder |
newline()
Append newline to the message buffer.
|
MessageBuilder |
project(Object message)
Append message content in project style.
|
MessageBuilder |
strong(Object message)
Append message content in strong style.
|
MessageBuilder |
success(Object message)
Append message content in success style.
|
MessageBuilder |
warning(Object message)
Append message content in warning style.
|
MessageBuilder success(Object message)
message - the message to appendMessageBuilder warning(Object message)
message - the message to appendMessageBuilder failure(Object message)
message - the message to appendMessageBuilder strong(Object message)
message - the message to appendMessageBuilder mojo(Object message)
message - the message to appendMessageBuilder project(Object message)
message - the message to appendMessageBuilder a(char[] value, int offset, int len)
value - the content to appendoffset - the index of the first char to appendlen - the number of chars to appendMessageBuilder a(char[] value)
value - the content to appendMessageBuilder a(CharSequence value, int start, int end)
value - the content to appendstart - the starting index of the subsequence to be appendedend - the end index of the subsequence to be appendedMessageBuilder a(CharSequence value)
value - the content to appendMessageBuilder a(Object value)
value - the content to appendMessageBuilder newline()
MessageBuilder format(String pattern, Object... args)
pattern - a format stringargs - arguments referenced by the format specifiers in the format string.String.format(String, Object...)Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.