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 Details

    • JansiMessageBuilderFactory

      public JansiMessageBuilderFactory()
  • Method Details

    • isColorEnabled

      public boolean isColorEnabled()
      Specified by:
      isColorEnabled in interface org.apache.maven.api.services.MessageBuilderFactory
    • getTerminalWidth

      public int getTerminalWidth()
      Specified by:
      getTerminalWidth in interface org.apache.maven.api.services.MessageBuilderFactory
    • builder

      @Nonnull public org.apache.maven.api.services.MessageBuilder builder()
      Specified by:
      builder in interface org.apache.maven.api.services.MessageBuilderFactory
    • builder

      @Nonnull public org.apache.maven.api.services.MessageBuilder builder(@Nonnull StringBuilder stringBuilder)
      Specified by:
      builder in interface org.apache.maven.api.services.MessageBuilderFactory