public interface NshBuiltin extends NComponent
| Modifier and Type | Method and Description |
|---|---|
default void |
autoComplete(NshExecutionContext context,
NCmdLineComplete autoComplete,
String commandName,
List<String> autoCompleteWords,
String autoCompleteLine) |
void |
exec(String[] command,
NshExecutionContext context)
exec and return error code
|
String |
getHelp() |
String |
getHelpHeader() |
String |
getName() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
void exec(String[] command, NshExecutionContext context)
command - commandcontext - contextString getHelp()
String getName()
boolean isEnabled()
void setEnabled(boolean enabled)
String getHelpHeader()
default void autoComplete(NshExecutionContext context, NCmdLineComplete autoComplete, String commandName, List<String> autoCompleteWords, String autoCompleteLine)
Copyright © 2026 vpc open source initiative. All rights reserved.