com.android.builder.png
Enum QueuedCruncher.Builder
java.lang.Object
java.lang.Enum<QueuedCruncher.Builder>
com.android.builder.png.QueuedCruncher.Builder
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<QueuedCruncher.Builder>
- Enclosing class:
- QueuedCruncher
public static enum QueuedCruncher.Builder
- extends java.lang.Enum<QueuedCruncher.Builder>
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
INSTANCE
public static final QueuedCruncher.Builder INSTANCE
values
public static QueuedCruncher.Builder[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (QueuedCruncher.Builder c : QueuedCruncher.Builder.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static QueuedCruncher.Builder valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
newCruncher
public QueuedCruncher newCruncher(@NonNull
java.lang.String aaptLocation,
@NonNull
com.android.utils.ILogger logger)
- Creates a new
QueuedCruncher
or return an existing one
based on the underlying AAPT executable location.
- Parameters:
aaptLocation
- the APPT executable location.logger
- the logger to use
- Returns:
- a new of existing instance of the
QueuedCruncher