Package org.apache.maven.internal.impl
Class DefaultMessageBuilder
java.lang.Object
org.apache.maven.internal.impl.DefaultMessageBuilder
- All Implemented Interfaces:
MessageBuilder
-
Constructor Summary
ConstructorDescriptionDefaultMessageBuilder
(org.apache.maven.shared.utils.logging.MessageBuilder delegate) -
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 failure style.Append formatted content to the buffer.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.Append message content in warning style.
-
Constructor Details
-
Method Details
-
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
-
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
-
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
-