Package org.apache.maven.cli.jansi
Class JansiMessageBuilder
java.lang.Object
org.apache.maven.cli.jansi.JansiMessageBuilder
- All Implemented Interfaces:
MessageBuilder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiona
(char[] chars) Append content to the message buffer.a
(char[] chars, int i, int i1) Append content to the message buffer.a
(CharSequence charSequence) Append content to the message buffer.a
(CharSequence charSequence, int i, int i1) Append content to the message buffer.Append content to the message buffer.build()
Return the built message.Append message content in debug style.Append message content in error style.Append message content in failure style.Append formatted content to the buffer.Append message content in info style.Append message content in mojo style.newline()
Append newline to the message buffer.Append message content in project style.Append message content in strong style.Append message content in success style.toString()
Append message content in warning style.
-
Constructor Details
-
JansiMessageBuilder
public JansiMessageBuilder() -
JansiMessageBuilder
-
-
Method Details
-
debug
Description copied from interface:MessageBuilder
Append message content in debug style. By default, bold cyan- Specified by:
debug
in interfaceMessageBuilder
- Parameters:
o
- the message to append- Returns:
- the current builder
-
info
Description copied from interface:MessageBuilder
Append message content in info style. By default, bold blue- Specified by:
info
in interfaceMessageBuilder
- Parameters:
o
- the message to append- Returns:
- the current builder
-
warning
Description copied from interface:MessageBuilder
Append message content in warning style. By default, bold yellow- Specified by:
warning
in interfaceMessageBuilder
- Parameters:
o
- the message to append- Returns:
- the current builder
-
error
Description copied from interface:MessageBuilder
Append message content in error style. By default, bold red- Specified by:
error
in interfaceMessageBuilder
- Parameters:
o
- the message to append- Returns:
- the current builder
-
success
Description copied from interface:MessageBuilder
Append message content in success style. By default, bold green- Specified by:
success
in interfaceMessageBuilder
- Parameters:
o
- the message to append- Returns:
- the current builder
-
failure
Description copied from interface:MessageBuilder
Append message content in failure style. By default, bold red- Specified by:
failure
in interfaceMessageBuilder
- Parameters:
o
- the message to append- Returns:
- the current builder
-
strong
Description copied from interface:MessageBuilder
Append message content in strong style. By default, bold- Specified by:
strong
in interfaceMessageBuilder
- Parameters:
o
- the message to append- Returns:
- the current builder
-
mojo
Description copied from interface:MessageBuilder
Append message content in mojo style. By default, green- Specified by:
mojo
in interfaceMessageBuilder
- Parameters:
o
- the message to append- Returns:
- the current builder
-
project
Description copied from interface:MessageBuilder
Append message content in project style. By default, cyan- Specified by:
project
in interfaceMessageBuilder
- Parameters:
o
- the message to append- Returns:
- the current builder
-
a
Description copied from interface:MessageBuilder
Append content to the message buffer.- Specified by:
a
in interfaceMessageBuilder
- Parameters:
chars
- the content to appendi
- the index of the firstchar
to appendi1
- the number ofchar
s to append- Returns:
- the current builder
-
a
Description copied from interface:MessageBuilder
Append content to the message buffer.- Specified by:
a
in interfaceMessageBuilder
- Parameters:
chars
- the content to append- Returns:
- the current builder
-
a
Description copied from interface:MessageBuilder
Append content to the message buffer.- Specified by:
a
in interfaceMessageBuilder
- Parameters:
charSequence
- the content to appendi
- the starting index of the subsequence to be appendedi1
- the end index of the subsequence to be appended- Returns:
- the current builder
-
a
Description copied from interface:MessageBuilder
Append content to the message buffer.- Specified by:
a
in interfaceMessageBuilder
- Parameters:
charSequence
- the content to append- Returns:
- the current builder
-
a
Description copied from interface:MessageBuilder
Append content to the message buffer.- Specified by:
a
in interfaceMessageBuilder
- Parameters:
o
- the content to append- Returns:
- the current builder
-
newline
Description copied from interface:MessageBuilder
Append newline to the message buffer.- Specified by:
newline
in interfaceMessageBuilder
- Returns:
- the current builder
-
format
Description copied from interface:MessageBuilder
Append formatted content to the buffer.- Specified by:
format
in interfaceMessageBuilder
- Parameters:
s
- a format stringobjects
- arguments referenced by the format specifiers in the format string- Returns:
- the current builder
- See Also:
-
build
Description copied from interface:MessageBuilder
Return the built message.- Specified by:
build
in interfaceMessageBuilder
- Returns:
- the message
-
toString
-