public static enum QueuedCruncher.Builder extends java.lang.Enum<QueuedCruncher.Builder>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
QueuedCruncher |
newCruncher(java.lang.String aaptLocation,
com.android.utils.ILogger logger,
int cruncherProcesses)
Creates a new
QueuedCruncher or return an existing one
based on the underlying AAPT executable location. |
static QueuedCruncher.Builder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QueuedCruncher.Builder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueuedCruncher.Builder INSTANCE
public static QueuedCruncher.Builder[] values()
for (QueuedCruncher.Builder c : QueuedCruncher.Builder.values()) System.out.println(c);
public static QueuedCruncher.Builder 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 nullpublic QueuedCruncher newCruncher(@NonNull java.lang.String aaptLocation, @NonNull com.android.utils.ILogger logger, int cruncherProcesses)
QueuedCruncher or return an existing one
based on the underlying AAPT executable location.aaptLocation - the AAPT executable location.logger - the logger to usecruncherProcesses - number of cruncher processes to use; 0 to use the
default numberQueuedCruncher