Package org.apache.maven.api.services
Interface MessageBuilderFactory
- All Superinterfaces:
- Service
A factory for 
MessageBuilder.- Since:
- 4.0.0
- 
Method Details- 
isColorEnabledboolean isColorEnabled()Checks if the underlying output does support styling or not.- Returns:
- whether color styling is supported or not
 
- 
getTerminalWidthint getTerminalWidth()Returns the terminal width or-1if not supported.- Returns:
- the terminal width
 
- 
builderCreates a new message builder.- Returns:
- a new message builder
 
- 
builderCreates a new message builder of the specified size.- Parameters:
- size- the initial size of the message builder buffer
- Returns:
- a new message builder
 
 
-