Package jline

Class CandidateCycleCompletionHandler

  • All 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
    • Constructor Detail

      • CandidateCycleCompletionHandler

        public CandidateCycleCompletionHandler()
    • Method Detail

      • complete

        public boolean complete​(ConsoleReader reader,
                                java.util.List candidates,
                                int position)
                         throws java.io.IOException
        Specified by:
        complete in interface CompletionHandler
        Throws:
        java.io.IOException