Package org.jline.console.impl
Class AbstractCommandRegistry.EnumCmdRegistry<T extends Enum<T>>
java.lang.Object
org.jline.console.impl.AbstractCommandRegistry.EnumCmdRegistry<T>
- All Implemented Interfaces:
AbstractCommandRegistry.CmdRegistry
- Enclosing class:
AbstractCommandRegistry
private static class AbstractCommandRegistry.EnumCmdRegistry<T extends Enum<T>>
extends Object
implements AbstractCommandRegistry.CmdRegistry
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEnumCmdRegistry(Map<T, String> commandName, Map<T, CommandMethods> commandExecute) -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate voidgetCommandMethods(String command) booleanhasCommand(String name) <V extends Enum<V>>
void
-
Field Details
-
commandName
-
nameCommand
-
commandExecute
-
aliasCommand
-
-
Constructor Details
-
EnumCmdRegistry
-
-
Method Details
-
doNameCommand
private void doNameCommand() -
commandNames
- Specified by:
commandNamesin interfaceAbstractCommandRegistry.CmdRegistry
-
commandAliases
- Specified by:
commandAliasesin interfaceAbstractCommandRegistry.CmdRegistry
-
rename
- Specified by:
renamein interfaceAbstractCommandRegistry.CmdRegistry
-
alias
- Specified by:
aliasin interfaceAbstractCommandRegistry.CmdRegistry
-
hasCommand
- Specified by:
hasCommandin interfaceAbstractCommandRegistry.CmdRegistry
-
compileCompleters
- Specified by:
compileCompletersin interfaceAbstractCommandRegistry.CmdRegistry
-
command
- Specified by:
commandin interfaceAbstractCommandRegistry.CmdRegistry
-
getCommandMethods
- Specified by:
getCommandMethodsin interfaceAbstractCommandRegistry.CmdRegistry
-