public class CandidateCycleCompletionHandler extends java.lang.Object implements CompletionHandler
A CompletionHandler
that deals with multiple distinct completions
by cycling through each one every time tab is pressed. This
mimics the behavior of the
editline
library.
This class is currently a stub; it does nothing
Constructor and Description |
---|
CandidateCycleCompletionHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
complete(ConsoleReader reader,
java.util.List candidates,
int position) |
public boolean complete(ConsoleReader reader, java.util.List candidates, int position) throws java.io.IOException
complete
in interface CompletionHandler
java.io.IOException