public enum Settings extends Enum<Settings> implements CompileParameter, ParameterParser
| Modifier and Type | Class and Description |
|---|---|
static class |
Settings.Option |
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(Context context) |
static List<String> |
get(Context context) |
String |
getAlias() |
String |
getDetailedDescription() |
String |
getShortDescription() |
String |
getUsage() |
static boolean |
hasSourceOnly(Context context) |
void |
run(Context context) |
Either<Boolean> |
tryParse(String name,
String value,
Context context) |
static Settings |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Settings[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Settings INSTANCE
public static Settings[] values()
for (Settings c : Settings.values()) System.out.println(c);
public static Settings 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 getAlias()
getAlias in interface CompileParameterpublic String getUsage()
getUsage in interface CompileParameterpublic static boolean hasSourceOnly(Context context)
public Either<Boolean> tryParse(String name, String value, Context context)
tryParse in interface ParameterParserpublic boolean check(Context context)
check in interface CompileParameterpublic void run(Context context)
run in interface CompileParameterpublic String getShortDescription()
getShortDescription in interface CompileParameterpublic String getDetailedDescription()
getDetailedDescription in interface CompileParameterCopyright © 2021. All rights reserved.