|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Package.UpdateInfo>
com.android.sdklib.internal.repository.packages.Package.UpdateInfo
public static enum Package.UpdateInfo
Enum for the result of Package.canBeUpdatedBy(Package). This used so that we can
differentiate between a package that is totally incompatible, and one that is the same item
but just not an update.
Package.canBeUpdatedBy(Package)| Enum Constant Summary | |
|---|---|
INCOMPATIBLE
Means that the 2 packages are not the same thing |
|
NOT_UPDATE
Means that the 2 packages are the same thing but one does not upgrade the other. |
|
UPDATE
Means that the 2 packages are the same thing, and one is the upgrade of the other |
|
| Method Summary | |
|---|---|
static Package.UpdateInfo |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Package.UpdateInfo[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| 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 |
| Enum Constant Detail |
|---|
public static final Package.UpdateInfo INCOMPATIBLE
public static final Package.UpdateInfo NOT_UPDATE
public static final Package.UpdateInfo UPDATE
| Method Detail |
|---|
public static Package.UpdateInfo[] values()
for (Package.UpdateInfo c : Package.UpdateInfo.values()) System.out.println(c);
public static Package.UpdateInfo 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 name
java.lang.NullPointerException - if the argument is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||