Package org.springframework.shell.jline
Class CommandHighlighter
java.lang.Object
org.springframework.shell.jline.CommandHighlighter
- All Implemented Interfaces:
org.jline.reader.Highlighter
- Since:
- 4.0.1
- Author:
- Piotr Olaszewski
-
Constructor Summary
ConstructorsConstructorDescriptionCommandHighlighter(CommandRegistry commandRegistry) Create a newCommandHighlighterinstance. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jline.reader.Highlighter
refresh, setErrorIndex, setErrorPattern
-
Constructor Details
-
CommandHighlighter
Create a newCommandHighlighterinstance.- Parameters:
commandRegistry- the command registry
-
-
Method Details
-
highlight
public org.jline.utils.AttributedString highlight(org.jline.reader.LineReader reader, String buffer) - Specified by:
highlightin interfaceorg.jline.reader.Highlighter
-