public class AttributeNamePathCompleter extends Object implements CommandLineCompleter
| Modifier and Type | Class and Description |
|---|---|
static interface |
AttributeNamePathCompleter.AttributeFilter
A filter to accept or not completion candidates.
|
static class |
AttributeNamePathCompleter.AttributeNameState |
static class |
AttributeNamePathCompleter.CloseBracketState |
static class |
AttributeNamePathCompleter.DotState |
static class |
AttributeNamePathCompleter.InitialValueState |
static class |
AttributeNamePathCompleter.ListIndexState |
static class |
AttributeNamePathCompleter.OpenBracketState |
| Modifier and Type | Field and Description |
|---|---|
static AttributeNamePathCompleter |
INSTANCE |
static AttributeNamePathCompleter.AttributeFilter |
LIST_FILTER
A list can be: an attribute of type LIST or inside an attribute of type
OBJECT (complex or Map of list)
|
static AttributeNamePathCompleter.AttributeFilter |
MAP_FILTER
A map can be: an attribute of type OBJECT or inside an attribute of type
LIST.
|
| Constructor and Description |
|---|
AttributeNamePathCompleter(org.jboss.dmr.ModelNode typeDescr) |
AttributeNamePathCompleter(org.jboss.dmr.ModelNode typeDescr,
AttributeNamePathCompleter.AttributeFilter filter) |
AttributeNamePathCompleter(OperationRequestAddress address) |
AttributeNamePathCompleter(OperationRequestAddress address,
AttributeNamePathCompleter.AttributeFilter filter) |
AttributeNamePathCompleter(OperationRequestAddress address,
boolean writeOnly) |
AttributeNamePathCompleter(OperationRequestAddress address,
boolean writeOnly,
AttributeNamePathCompleter.AttributeFilter filter) |
| Modifier and Type | Method and Description |
|---|---|
int |
complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
int |
complete(String buffer,
List<String> candidates,
org.jboss.dmr.ModelNode descr) |
int |
complete(String buffer,
List<String> candidates,
org.jboss.dmr.ModelNode descr,
boolean writeOnly) |
protected org.jboss.as.cli.impl.AttributeNamePathCompleter.AttributeNamePathCallbackHandler |
parse(String line) |
public static final AttributeNamePathCompleter.AttributeFilter LIST_FILTER
public static final AttributeNamePathCompleter.AttributeFilter MAP_FILTER
public static final AttributeNamePathCompleter INSTANCE
public AttributeNamePathCompleter(OperationRequestAddress address, AttributeNamePathCompleter.AttributeFilter filter)
public AttributeNamePathCompleter(OperationRequestAddress address)
public AttributeNamePathCompleter(OperationRequestAddress address, boolean writeOnly)
public AttributeNamePathCompleter(OperationRequestAddress address, boolean writeOnly, AttributeNamePathCompleter.AttributeFilter filter)
public AttributeNamePathCompleter(org.jboss.dmr.ModelNode typeDescr)
public AttributeNamePathCompleter(org.jboss.dmr.ModelNode typeDescr,
AttributeNamePathCompleter.AttributeFilter filter)
public int complete(CommandContext ctx, String buffer, int cursor, List<String> candidates)
complete in interface CommandLineCompleterpublic int complete(String buffer, List<String> candidates, org.jboss.dmr.ModelNode descr, boolean writeOnly)
protected org.jboss.as.cli.impl.AttributeNamePathCompleter.AttributeNamePathCallbackHandler parse(String line) throws CommandFormatException
CommandFormatExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.