public abstract class SimpleJShellBuiltin extends AbstractJShellBuiltin
| Constructor and Description |
|---|
SimpleJShellBuiltin(String name,
int supportLevel,
Class optionsClass) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
configureFirst(net.thevpc.nuts.NutsCommandLine commandLine,
JShellExecutionContext context) |
protected Object |
createOptions() |
protected abstract void |
execBuiltin(net.thevpc.nuts.NutsCommandLine commandLine,
JShellExecutionContext context) |
void |
execImpl(String[] args,
JShellExecutionContext context) |
protected void |
initCommandLine(net.thevpc.nuts.NutsCommandLine commandLine) |
autoComplete, cmdLine, exec, getHelp, getHelpHeader, getName, getSupportLevel, isEnabled, setEnabled, throwExecutionExceptionprotected Object createOptions()
protected abstract boolean configureFirst(net.thevpc.nuts.NutsCommandLine commandLine,
JShellExecutionContext context)
protected abstract void execBuiltin(net.thevpc.nuts.NutsCommandLine commandLine,
JShellExecutionContext context)
public void execImpl(String[] args, JShellExecutionContext context)
execImpl in class AbstractJShellBuiltinprotected void initCommandLine(net.thevpc.nuts.NutsCommandLine commandLine)
Copyright © 2022 vpc open source initiative. All rights reserved.