| Modifier and Type | Method and Description |
|---|---|
default void |
NshBuiltin.autoComplete(NshExecutionContext context,
NCmdLineComplete autoComplete,
String commandName,
List<String> autoCompleteWords,
String autoCompleteLine) |
void |
NshBuiltinBase.autoComplete(NshExecutionContext context,
NCmdLineComplete autoComplete,
String commandName,
List<String> autoCompleteWords,
String autoCompleteLine) |
protected NCmdLine |
NshBuiltinBase.cmdLine(String[] args,
NshExecutionContext context) |
void |
NshBuiltin.exec(String[] command,
NshExecutionContext context)
exec and return error code
|
void |
NshBuiltinBase.exec(String[] args,
NshExecutionContext context) |
protected void |
NshBuiltinBase.init(NCmdLine cmdLine,
NshExecutionContext context) |
protected abstract void |
NshBuiltinBase.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected abstract boolean |
NshBuiltinBase.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected abstract boolean |
NshBuiltinBase.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
NshBuiltinBase.validate(NCmdLine cmdLine,
NshExecutionContext context) |
| Modifier and Type | Method and Description |
|---|---|
int |
TestCommand.Eval.eval(NshExecutionContext context) |
protected void |
AliasCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
BaseNameCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
BuiltinCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
CdCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
ClearCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
CommandCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
DirNameCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
EchoCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
EnableCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
EnvCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
FalseCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
HistoryCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
PwdCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
SetCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
SourceCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
TestCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
TrueCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
TypeCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
UnaliasCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
UnameCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
UnsetCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
AliasCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
BaseNameCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
BuiltinCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
CdCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
ClearCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
CommandCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
DirNameCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
EchoCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
EnableCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
EnvCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
FalseCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
HistoryCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
PwdCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
SetCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
SourceCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
TestCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
TrueCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
TypeCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
UnaliasCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
UnameCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
UnsetCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
AliasCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
BaseNameCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
BuiltinCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
CdCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
ClearCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
CommandCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
DirNameCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
EchoCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
EnableCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
EnvCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
FalseCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
HistoryCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
PwdCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
SetCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
SourceCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
TestCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
TrueCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
TypeCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
UnaliasCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
UnameCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
UnsetCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
JsonCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
LoginCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
LogoutCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
MakeWrapperCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
PropsCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
XmlCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
JsonCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
LoginCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
LogoutCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
MakeWrapperCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
PropsCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
XmlCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
JsonCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
LoginCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
LogoutCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
MakeWrapperCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
PropsCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
XmlCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AutocompleteCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
ExitCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
HelpCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
ShowerrCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
VersionCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
AutocompleteCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
ExitCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
HelpCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
ShowerrCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
VersionCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
AutocompleteCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
ExitCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
HelpCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
ShowerrCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
VersionCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
CpCommand.copy(NPath from,
NPath to,
CpCommand.Options o,
NshExecutionContext context) |
protected void |
WgetCommand.download(String path,
String output,
NshExecutionContext context) |
protected void |
DateCommand.init(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
CatCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
ChmodCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
CpCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
DateCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
DfCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
HeadCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
JpsCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
KillCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
LsCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
MkdirCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
MvCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
PsCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
RmCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
SshCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
TailCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
TarCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
TouchCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
UnzipCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
WcCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
WgetCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
WhoamiCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected void |
ZipCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
CatCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
ChmodCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
CpCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
DateCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
DfCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
HeadCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
JpsCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
KillCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
LsCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
MkdirCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
MvCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
PsCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
RmCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
SshCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
TailCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
TarCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
TouchCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
UnzipCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
WcCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
WgetCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
WhoamiCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
ZipCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
CatCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
ChmodCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
CpCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
DateCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
DfCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
HeadCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
JpsCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
KillCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
LsCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
MkdirCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
MvCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
PsCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
RmCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
SshCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
TailCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
TarCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
TouchCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
UnzipCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
WcCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
WgetCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
WhoamiCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
ZipCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
HostsCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
HostsCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
HostsCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
GrepCommand.main(NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
GrepCommand.nextNonOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
protected boolean |
GrepCommand.nextOption(NArg arg,
NCmdLine cmdLine,
NshExecutionContext context) |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultNshExecutionContext |
| Modifier and Type | Method and Description |
|---|---|
void |
NCommandAutoCompleteComponent.autoComplete(NshBuiltin command,
NshExecutionContext context) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
NshFunction<T extends NshExecutionContext> |
Copyright © 2026 vpc open source initiative. All rights reserved.