protected static enum AddUser.CommandLineArgument extends Enum<AddUser.CommandLineArgument>
Enum Constant and Description |
---|
APPLICATION_USERS |
CONFIRM_WARNING |
DISABLE |
DOMAIN_CONFIG_DIR_USERS |
ENABLE |
GROUP_PROPERTIES |
GROUPS |
HELP |
PASSWORD |
REALM |
ROLE |
SERVER_CONFIG_DIR_USERS |
SILENT |
USER |
USER_PROPERTIES |
Modifier and Type | Method and Description |
---|---|
String |
argumentExample()
An example of how the argument is used.
|
String |
getLongArg() |
String |
getShortArg() |
abstract String |
instructions()
The argument instructions.
|
String |
key() |
boolean |
match(String option) |
static void |
printUsage(ConsoleWrapper consoleWrapper) |
String |
toString() |
static String |
usage() |
static AddUser.CommandLineArgument |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddUser.CommandLineArgument[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddUser.CommandLineArgument APPLICATION_USERS
public static final AddUser.CommandLineArgument DOMAIN_CONFIG_DIR_USERS
public static final AddUser.CommandLineArgument SERVER_CONFIG_DIR_USERS
public static final AddUser.CommandLineArgument USER_PROPERTIES
public static final AddUser.CommandLineArgument GROUPS
public static final AddUser.CommandLineArgument GROUP_PROPERTIES
public static final AddUser.CommandLineArgument PASSWORD
public static final AddUser.CommandLineArgument USER
public static final AddUser.CommandLineArgument REALM
public static final AddUser.CommandLineArgument SILENT
public static final AddUser.CommandLineArgument ROLE
public static final AddUser.CommandLineArgument ENABLE
public static final AddUser.CommandLineArgument DISABLE
public static final AddUser.CommandLineArgument CONFIRM_WARNING
public static final AddUser.CommandLineArgument HELP
public static AddUser.CommandLineArgument[] values()
for (AddUser.CommandLineArgument c : AddUser.CommandLineArgument.values()) System.out.println(c);
public static AddUser.CommandLineArgument valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String key()
public boolean match(String option)
public String getShortArg()
public String getLongArg()
public String argumentExample()
public abstract String instructions()
public String toString()
toString
in class Enum<AddUser.CommandLineArgument>
public static void printUsage(ConsoleWrapper consoleWrapper)
public static String usage()
Copyright © 2023 JBoss by Red Hat. All rights reserved.