Package org.apache.maven.cli.jansi
Class JansiMessageBuilderFactory
java.lang.Object
org.apache.maven.cli.jansi.JansiMessageBuilderFactory
- All Implemented Interfaces:
org.apache.maven.api.Service
,org.apache.maven.api.services.MessageBuilderFactory
@Experimental
@Named
@Singleton
public class JansiMessageBuilderFactory
extends Object
implements org.apache.maven.api.services.MessageBuilderFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.maven.api.services.MessageBuilder
builder()
org.apache.maven.api.services.MessageBuilder
builder
(StringBuilder stringBuilder) int
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.maven.api.services.MessageBuilderFactory
builder
-
Constructor Details
-
JansiMessageBuilderFactory
public JansiMessageBuilderFactory()
-
-
Method Details
-
isColorEnabled
public boolean isColorEnabled()- Specified by:
isColorEnabled
in interfaceorg.apache.maven.api.services.MessageBuilderFactory
-
getTerminalWidth
public int getTerminalWidth()- Specified by:
getTerminalWidth
in interfaceorg.apache.maven.api.services.MessageBuilderFactory
-
builder
@Nonnull public org.apache.maven.api.services.MessageBuilder builder()- Specified by:
builder
in interfaceorg.apache.maven.api.services.MessageBuilderFactory
-
builder
@Nonnull public org.apache.maven.api.services.MessageBuilder builder(@Nonnull StringBuilder stringBuilder) - Specified by:
builder
in interfaceorg.apache.maven.api.services.MessageBuilderFactory
-