public static enum FileCache.Command extends java.lang.Enum<FileCache.Command>
FileCache. A command identifies a
file creator callback function (which usually corresponds to a Gradle task) and is used to
separate the cached results of different file creators when they use the same cache.| Enum Constant and Description |
|---|
DESUGAR_LIBRARY
Desugar library.
|
GENERATE_MOCKABLE_JAR
Mockable jars used for unit testing.
|
PREDEX_LIBRARY
The predex-library command.
|
PREDEX_LIBRARY_TO_DEX_ARCHIVE
Pre-dexing library to a dex archive.
|
PREPARE_LIBRARY
The prepare-library command.
|
TEST
Command used for testing only.
|
| Modifier and Type | Method and Description |
|---|---|
static FileCache.Command |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileCache.Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileCache.Command TEST
public static final FileCache.Command PREDEX_LIBRARY
public static final FileCache.Command PREPARE_LIBRARY
public static final FileCache.Command GENERATE_MOCKABLE_JAR
public static final FileCache.Command PREDEX_LIBRARY_TO_DEX_ARCHIVE
public static final FileCache.Command DESUGAR_LIBRARY
public static FileCache.Command[] values()
for (FileCache.Command c : FileCache.Command.values()) System.out.println(c);
public static FileCache.Command valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null