public interface CommandRegistry
Modifier and Type | Method and Description |
---|---|
void |
completeCommandName(CompleteOperation completeOperation)
Based on input, find all commands that match or partly match
|
Set<String> |
getAllCommandNames() |
CommandContainer |
getCommand(String name,
String line) |
void |
removeCommand(String name) |
CommandContainer getCommand(String name, String line) throws CommandNotFoundException
name
- command nameline
- current terminal buffer lineCommandNotFoundException
void completeCommandName(CompleteOperation completeOperation)
completeOperation@return
- matching/partly patching commandsvoid removeCommand(String name)
Copyright © 2020 JBoss, a division of Red Hat, Inc.. All Rights Reserved.