public class CandidateCycleCompletionHandler extends 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,
List<String> candidates,
int position) |
public boolean complete(ConsoleReader reader, List<String> candidates, int position) throws IOException
complete
in interface CompletionHandler
IOException
Copyright © 2024. All rights reserved.