Modifier and Type | Field and Description |
---|---|
private final Collection |
Access | Constructor and Description |
---|---|
public | AggregateCompleter(final Completer...
the completers completers)Construct an AggregateCompleter with the given completers. |
public | AggregateCompleter(Collection<Completer>
the completers completers)Construct an AggregateCompleter with the given completers. |
Modifier and Type | Method and Description |
---|---|
public void | complete(LineReader
The line reader reader, final ParsedLine The parsed command line line, final List<Candidate> The candidates)List of candidates to populateImplements jdk. |
public Collection | Returns: the aggregated completersRetrieve the collection of completers currently being aggregated. |
public String | Returns: a string representing the aggregated completersOverrides java. |
completers | back to summary |
---|---|
private final Collection<Completer> completers |
AggregateCompleter | back to summary |
---|---|
public AggregateCompleter(final Completer... completers) Construct an AggregateCompleter with the given completers. The completers will be used in the order given.
|
AggregateCompleter | back to summary |
---|---|
public AggregateCompleter(Collection<Completer> completers) Construct an AggregateCompleter with the given completers. The completers will be used in the order given.
|
complete | back to summary |
---|---|
public void complete(LineReader reader, final ParsedLine line, final List<Candidate> candidates) Implements jdk. Perform a completion operation across all aggregated completers. The effect is similar to the following code:
|
getCompleters | back to summary |
---|---|
public Collection Retrieve the collection of completers currently being aggregated.
|
toString | back to summary |
---|---|
public String toString() Overrides java. Doc from java. Returns a string representation of the object. |