Interface ColorAware

All Superinterfaces:
Plugin

@API(status=STABLE) public interface ColorAware extends Plugin
Interface for Plugins that use ANSI escape codes to print coloured output.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setMonochrome(boolean monochrome)
    When set to monochrome the plugin should not use colored output.
  • Method Details

    • setMonochrome

      void setMonochrome(boolean monochrome)
      When set to monochrome the plugin should not use colored output.

      For the benefit of systems that do not support ANSI escape codes.

      Parameters:
      monochrome - true if monochrome output should be used