public enum DslPath extends Enum<DslPath> implements CompileParameter
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(Context context) |
String |
getAlias() |
static Map<String,String> |
getCurrentDsl(Context context) |
String |
getDetailedDescription() |
static List<File> |
getDslPaths(Context context) |
String |
getShortDescription() |
String |
getUsage() |
void |
run(Context context) |
static DslPath |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DslPath[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DslPath INSTANCE
public static DslPath[] values()
for (DslPath c : DslPath.values()) System.out.println(c);
public static DslPath 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 Map<String,String> getCurrentDsl(Context context) throws ExitException
ExitExceptionpublic static List<File> getDslPaths(Context context) throws ExitException
ExitExceptionpublic 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.