Class CommandHighlighter

java.lang.Object
org.springframework.shell.jline.CommandHighlighter
All Implemented Interfaces:
org.jline.reader.Highlighter

public class CommandHighlighter extends Object implements org.jline.reader.Highlighter
Since:
4.0.1
Author:
Piotr Olaszewski
  • Constructor Details

    • CommandHighlighter

      public CommandHighlighter(CommandRegistry commandRegistry)
      Create a new CommandHighlighter instance.
      Parameters:
      commandRegistry - the command registry
  • Method Details

    • highlight

      public org.jline.utils.AttributedString highlight(org.jline.reader.LineReader reader, String buffer)
      Specified by:
      highlight in interface org.jline.reader.Highlighter