public enum Arg extends Enum<Arg>
Enum Constant and Description |
---|
bootstrap
Bootstrap package list.
|
dynamic
dynamic compilation flag
|
dynamic_deprecated |
no_bootstrap
No bootstrap flag
|
no_bootstrap_deprecated |
Modifier and Type | Method and Description |
---|---|
static Set<Arg> |
allOptional() |
static Set<Arg> |
allRequired() |
static Arg |
byName(String name) |
String |
getDefaultValue() |
String |
getDescription() |
String |
getName() |
boolean |
isDeprecated() |
boolean |
isFlag() |
boolean |
isRequired() |
protected void |
validate(String arg,
Map<Arg,Set<String>> map) |
static Arg |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Arg[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Arg bootstrap
public static final Arg no_bootstrap
public static final Arg no_bootstrap_deprecated
public static final Arg dynamic
public static final Arg dynamic_deprecated
public static Arg[] values()
for (Arg c : Arg.values()) System.out.println(c);
public static Arg 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 getName()
public String getDescription()
public String getDefaultValue()
public boolean isRequired()
public boolean isFlag()
public boolean isDeprecated()
Copyright © 2024. All rights reserved.