public final class CompletionMatcher<T> extends Object
Modifier and Type | Field and Description |
---|---|
private CommandDescriptor<T> |
descriptor
.
|
Constructor and Description |
---|
CompletionMatcher(CommandDescriptor<T> descriptor) |
Modifier and Type | Method and Description |
---|---|
private Completion |
argument(CommandDescriptor<?> method,
Completer completer,
Delimiter delimiter) |
private Completion |
getCompletion(Completer completer,
String s) |
CompletionMatch |
match(Completer completer,
String s) |
CompletionMatch |
match(String s) |
private final CommandDescriptor<T> descriptor
public CompletionMatcher(CommandDescriptor<T> descriptor)
public final CompletionMatch match(String s) throws CompletionException
CompletionException
public CompletionMatch match(Completer completer, String s) throws CompletionException
CompletionException
private Completion argument(CommandDescriptor<?> method, Completer completer, Delimiter delimiter)
private Completion getCompletion(Completer completer, String s) throws CompletionException
CompletionException
Copyright © 2015 eXo Platform SAS. All Rights Reserved.