public class EnumCompleter extends Object implements Completer
| Modifier and Type | Field and Description |
|---|---|
private static EnumCompleter |
instance
.
|
| Constructor and Description |
|---|
EnumCompleter() |
| Modifier and Type | Method and Description |
|---|---|
Completion |
complete(ParameterDescriptor parameter,
String prefix)
Query the completer for a set of completions for the given prefix.
|
static EnumCompleter |
getInstance()
Returns the empty completer instance.
|
private static final EnumCompleter instance
public EnumCompleter()
public static EnumCompleter getInstance()
public Completion complete(ParameterDescriptor parameter, String prefix) throws Exception
CompleterQuery the completer for a set of completions for the given prefix. The returned Completion object
provides the possible completion matching the prefix argument.
Copyright © 2015 eXo Platform SAS. All Rights Reserved.