Class CommandNamesCompleter
- java.lang.Object
-
- org.apache.karaf.shell.support.completers.CommandNamesCompleter
-
- org.apache.karaf.shell.impl.console.CommandNamesCompleter
-
- All Implemented Interfaces:
Completer
public class CommandNamesCompleter extends CommandNamesCompleter
-
-
Constructor Summary
Constructors Constructor Description CommandNamesCompleter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
complete(Session session, CommandLine commandLine, List<String> candidates)
populate possible completion candidates.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.karaf.shell.api.console.Completer
completeCandidates
-
-
-
-
Method Detail
-
complete
public int complete(Session session, CommandLine commandLine, List<String> candidates)
Description copied from interface:Completer
populate possible completion candidates.- Parameters:
session
- the currentSession
commandLine
- the pre-parsedCommandLine
candidates
- a list to fill with possible completion candidates- Returns:
- the index of the
CommandLine
for which the completion will be relative
-
-