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:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
descriptor
private final CommandDescriptor<T> descriptor
-
.
mainName
private final String mainName
-
.
CompletionMatcher
public CompletionMatcher(CommandDescriptor<T> descriptor)
CompletionMatcher
public CompletionMatcher(String mainName,
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)
-
getCompletion
private Completion getCompletion(Completer completer,
String s)
throws CompletionException
-
- Throws:
CompletionException
Copyright © 2014 eXo Platform SAS. All Rights Reserved.