public class OperationRequestCompleter extends Object implements CommandLineCompleter
Modifier and Type | Field and Description |
---|---|
static CommandLineCompleter |
ARG_VALUE_COMPLETER |
static EscapeSelector |
ESCAPE_SELECTOR |
static OperationRequestCompleter |
INSTANCE |
Constructor and Description |
---|
OperationRequestCompleter() |
Modifier and Type | Method and Description |
---|---|
int |
complete(CommandContext ctx,
OperationCandidatesProvider candidatesProvider,
String buffer,
int cursor,
List<String> candidates) |
protected int |
complete(CommandContext ctx,
ParsedCommandLine parsedCmd,
OperationCandidatesProvider candidatesProvider,
String buffer,
int cursor,
List<String> candidates) |
int |
complete(CommandContext ctx,
ParsedCommandLine parsedCmd,
String buffer,
int cursor,
List<String> candidates) |
int |
complete(CommandContext ctx,
String buffer,
int cursor,
List<String> candidates) |
protected CommandLineCompleter |
getValueCompleter(CommandContext ctx,
Iterable<CommandArgument> allArgs,
int index) |
protected CommandLineCompleter |
getValueCompleter(CommandContext ctx,
Iterable<CommandArgument> allArgs,
String argName) |
public static final OperationRequestCompleter INSTANCE
public static final CommandLineCompleter ARG_VALUE_COMPLETER
public static final EscapeSelector ESCAPE_SELECTOR
public int complete(CommandContext ctx, String buffer, int cursor, List<String> candidates)
complete
in interface CommandLineCompleter
public int complete(CommandContext ctx, OperationCandidatesProvider candidatesProvider, String buffer, int cursor, List<String> candidates)
public int complete(CommandContext ctx, ParsedCommandLine parsedCmd, String buffer, int cursor, List<String> candidates)
protected int complete(CommandContext ctx, ParsedCommandLine parsedCmd, OperationCandidatesProvider candidatesProvider, String buffer, int cursor, List<String> candidates)
protected CommandLineCompleter getValueCompleter(CommandContext ctx, Iterable<CommandArgument> allArgs, String argName)
protected CommandLineCompleter getValueCompleter(CommandContext ctx, Iterable<CommandArgument> allArgs, int index)
Copyright © 2023 JBoss by Red Hat. All rights reserved.