org.crsh.cli.impl.completion
Class CompletionMatcher<T>
java.lang.Object
org.crsh.cli.impl.completion.CompletionMatcher<T>
public final class CompletionMatcher<T>
- extends Object
- Author:
- Julien Viet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
descriptor
private final CommandDescriptor<T> descriptor
- .
CompletionMatcher
public CompletionMatcher(CommandDescriptor<T> descriptor)
match
public final CompletionMatch match(String s)
throws CompletionException
- Throws:
CompletionException
match
public CompletionMatch match(Completer completer,
String s)
throws CompletionException
- Throws:
CompletionException
argument
private Completion argument(CommandDescriptor<?> method,
Completer completer,
Delimiter delimiter)
getCompletion
private Completion getCompletion(Completer completer,
String s)
throws CompletionException
- Throws:
CompletionException
Copyright © 2015 eXo Platform SAS. All Rights Reserved.