public enum Argument extends Enum<Argument>
| Enum Constant and Description |
|---|
CACHE_NAME |
CLEAR |
DUMP |
FILE |
HELP |
HOST |
POPULATE |
PORT |
| Modifier and Type | Method and Description |
|---|---|
String |
getArg() |
static String |
help(Argument argument) |
static void |
parse(Queue<String> args,
Map<Argument,String> map) |
static void |
setDefaultValues(Map<Argument,String> map) |
static Argument |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Argument[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Argument HOST
public static final Argument PORT
public static final Argument CACHE_NAME
public static final Argument FILE
public static final Argument POPULATE
public static final Argument DUMP
public static final Argument CLEAR
public static final Argument HELP
public static Argument[] values()
for (Argument c : Argument.values()) System.out.println(c);
public static Argument 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 getArg()
Copyright © 2015 JBoss, a division of Red Hat. All Rights Reserved.