public class CommonArgParser extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CMD_AUTO_CONFIRMATION
Option is used for auto confirmation.
|
static String |
CMD_VERBOSE
Verbose mode.
|
| Constructor and Description |
|---|
CommonArgParser(Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
static String[] |
getCommonOptions()
Creates list of common utility options.
|
static boolean |
isSensitiveArgument(String arg) |
ConnectionAndSslParameters |
parseAndValidate(Iterator<String> rawArgIter)
Parses and validates arguments.
|
protected Command |
parseCommand(String s) |
public static final String CMD_AUTO_CONFIRMATION
public static final String CMD_VERBOSE
public CommonArgParser(Logger logger)
logger - Logger.public static boolean isSensitiveArgument(String arg)
arg - To check.public static String[] getCommonOptions()
protected Command parseCommand(String s)
s - String to parse.null otherwise.public ConnectionAndSslParameters parseAndValidate(Iterator<String> rawArgIter)
rawArgIter - Iterator of arguments.IllegalArgumentException - In case arguments aren't valid.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.30 Release Date : February 17 2026