Package org.apache.maven.internal.impl
Class DefaultMessageBuilder
java.lang.Object
org.apache.maven.internal.impl.DefaultMessageBuilder
- All Implemented Interfaces:
MessageBuilder
-
Constructor Summary
Constructors -
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.voidsetLength(int length) Set the buffer length.Append message content in strong style.Append message content in success style.toString()Append message content in trace style.Append message content in warning style.
-
Constructor Details
-
DefaultMessageBuilder
public DefaultMessageBuilder() -
DefaultMessageBuilder
-
-
Method Details
-
trace
Description copied from interface:MessageBuilderAppend message content in trace style. By default, bold magenta- Specified by:
tracein interfaceMessageBuilder- Parameters:
o- the message to append- Returns:
- the current builder
-
debug
Description copied from interface:MessageBuilderAppend message content in debug style. By default, bold cyan- Specified by:
debugin interfaceMessageBuilder- Parameters:
o- the message to append- Returns:
- the current builder
-
info
Description copied from interface:MessageBuilderAppend message content in info style. By default, bold blue- Specified by:
infoin interfaceMessageBuilder- Parameters:
o- the message to append- Returns:
- the current builder
-
warning
Description copied from interface:MessageBuilderAppend message content in warning style. By default, bold yellow- Specified by:
warningin interfaceMessageBuilder- Parameters:
o- the message to append- Returns:
- the current builder
-
error
Description copied from interface:MessageBuilderAppend message content in error style. By default, bold red- Specified by:
errorin interfaceMessageBuilder- Parameters:
o- the message to append- Returns:
- the current builder
-
success
Description copied from interface:MessageBuilderAppend message content in success style. By default, bold green- Specified by:
successin interfaceMessageBuilder- Parameters:
o- the message to append- Returns:
- the current builder
-
failure
Description copied from interface:MessageBuilderAppend message content in failure style. By default, bold red- Specified by:
failurein interfaceMessageBuilder- Parameters:
o- the message to append- Returns:
- the current builder
-
strong
Description copied from interface:MessageBuilderAppend message content in strong style. By default, bold- Specified by:
strongin interfaceMessageBuilder- Parameters:
o- the message to append- Returns:
- the current builder
-
mojo
Description copied from interface:MessageBuilderAppend message content in mojo style. By default, green- Specified by:
mojoin interfaceMessageBuilder- Parameters:
o- the message to append- Returns:
- the current builder
-
project
Description copied from interface:MessageBuilderAppend message content in project style. By default, cyan- Specified by:
projectin interfaceMessageBuilder- Parameters:
o- the message to append- Returns:
- the current builder
-
a
Description copied from interface:MessageBuilderAppend content to the message buffer.- Specified by:
ain interfaceMessageBuilder- Parameters:
chars- the content to appendi- the index of the firstcharto appendi1- the number ofchars to append- Returns:
- the current builder
-
a
Description copied from interface:MessageBuilderAppend content to the message buffer.- Specified by:
ain interfaceMessageBuilder- Parameters:
chars- the content to append- Returns:
- the current builder
-
a
Description copied from interface:MessageBuilderAppend content to the message buffer.- Specified by:
ain 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:MessageBuilderAppend content to the message buffer.- Specified by:
ain interfaceMessageBuilder- Parameters:
charSequence- the content to append- Returns:
- the current builder
-
a
Description copied from interface:MessageBuilderAppend content to the message buffer.- Specified by:
ain interfaceMessageBuilder- Parameters:
o- the content to append- Returns:
- the current builder
-
newline
Description copied from interface:MessageBuilderAppend newline to the message buffer.- Specified by:
newlinein interfaceMessageBuilder- Returns:
- the current builder
-
format
Description copied from interface:MessageBuilderAppend formatted content to the buffer.- Specified by:
formatin 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:MessageBuilderReturn the built message.- Specified by:
buildin interfaceMessageBuilder- Returns:
- the message
-
toString
-
setLength
public void setLength(int length) Description copied from interface:MessageBuilderSet the buffer length.- Specified by:
setLengthin interfaceMessageBuilder- Parameters:
length- the new length
-