public abstract class AbstractFileCommand extends ShellCommand
SUBSYSTEM_CALLBACK, SUBSYSTEM_FILESYSTEM, SUBSYSTEM_HELP, SUBSYSTEM_JVM, SUBSYSTEM_POLICY, SUBSYSTEM_SHELL, SUBSYSTEM_SSHD, SUBSYSTEM_SYSTEM, SUBSYSTEM_TEXT_EDITING
exitCode, process
STILL_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, setSubsystem
public AbstractFileCommand(String name, String subsystem, String signature, org.apache.commons.cli.Option... options)
public int complete(String buffer, int cursor, List<String> candidates)
Completor
List
before returning.complete
in interface Completor
complete
in class AbstractCommand
buffer
- the buffercandidates
- the List
of candidates to populateCopyright © 2024. All rights reserved.