jline

Class CandidateCycleCompletionHandler

Implemented Interfaces:
CompletionHandler

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

Author:
Marc Prud'hommeaux

Method Summary

boolean
complete(ConsoleReader reader, List candidates, int position)

Method Details

complete

public boolean complete(ConsoleReader reader,
                        List candidates,
                        int position)
            throws IOException
Specified by:
complete in interface CompletionHandler