public abstract class AbstractFileCommand extends ShellCommand
SUBSYSTEM_CALLBACK, SUBSYSTEM_FILESYSTEM, SUBSYSTEM_HELP, SUBSYSTEM_JVM, SUBSYSTEM_POLICY, SUBSYSTEM_SHELL, SUBSYSTEM_SSHD, SUBSYSTEM_SYSTEM, SUBSYSTEM_TEXT_EDITINGexitCode, processSTILL_ACTIVE| Constructor and Description |
|---|
AbstractFileCommand(String name,
String subsystem) |
AbstractFileCommand(String name,
String subsystem,
String signature) |
AbstractFileCommand(String name,
String subsystem,
String signature,
org.apache.commons.cli.Option... options) |
| Modifier and Type | Method and Description |
|---|---|
int |
complete(String buffer,
int cursor,
List<String> candidates)
Populates candidates with a list of possible completions for the
buffer.
|
getCollection, getCommandName, getDescription, getExitCode, getName, getOptions, getProcess, getSignature, getSubsystem, hasFixedOptions, init, isBuiltIn, isHidden, setBuiltIn, setDescription, setName, setSignature, setSubsystempublic AbstractFileCommand(String name, String subsystem, String signature, org.apache.commons.cli.Option... options)
public int complete(String buffer, int cursor, List<String> candidates)
CompletorList before returning.complete in interface Completorcomplete in class AbstractCommandbuffer - the buffercandidates - the List of candidates to populateCopyright © 2025. All rights reserved.