qcloud.storage.ranger.thirdparty.jline.CandidateCycleCompletionHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hadoop-ranger-client-for-hadoop Show documentation
Show all versions of hadoop-ranger-client-for-hadoop Show documentation
Tencent Qcloud chdfs hadoop ranger client.
/*
* Copyright (c) 2002-2007, Marc Prud'hommeaux. All rights reserved.
*
* This software is distributable under the BSD license. See the terms of the
* BSD license in the documentation provided with this software.
*/
package qcloud.storage.ranger.thirdparty.jline;
import java.io.*;
import java.util.*;
/**
*
* A {@link 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
*/
public class CandidateCycleCompletionHandler implements CompletionHandler {
public boolean complete(final ConsoleReader reader, final List candidates,
final int position) throws IOException {
throw new IllegalStateException("CandidateCycleCompletionHandler unimplemented");
}
}