Class NumericPortNumberCompleter
- java.lang.Object
-
- org.onosproject.cli.AbstractCompleter
-
- org.onosproject.cli.AbstractChoicesCompleter
-
- org.onosproject.cli.net.PortNumberCompleter
-
- org.onosproject.cli.net.completer.NumericPortNumberCompleter
-
- All Implemented Interfaces:
org.apache.karaf.shell.api.console.Completer
public class NumericPortNumberCompleter extends PortNumberCompleter
PortNumber completer, which returns candidates in decimal form. Assumes argument right before the one being completed is DeviceId.
-
-
Field Summary
-
Fields inherited from class org.onosproject.cli.AbstractChoicesCompleter
commandLine, session
-
-
Constructor Summary
Constructors Constructor Description NumericPortNumberCompleter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<java.lang.String>
choices()
-
Methods inherited from class org.onosproject.cli.net.PortNumberCompleter
lookForDeviceId
-
Methods inherited from class org.onosproject.cli.AbstractChoicesCompleter
complete
-
-
-
-
Method Detail
-
choices
protected java.util.List<java.lang.String> choices()
- Overrides:
choices
in classPortNumberCompleter
-
-