public class PortNumberCompleter extends AbstractChoicesCompleter
PortNumber.toString()
form.
Assumes argument right before the one being completed is DeviceId.commandLine, session
Constructor and Description |
---|
PortNumberCompleter() |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
choices() |
protected DeviceId |
lookForDeviceId()
Look for valid DeviceId in arguments passed so far.
|
complete
protected DeviceId lookForDeviceId()
protected List<String> choices()
choices
in class AbstractChoicesCompleter