public static enum PackageStatusMessage.Status extends Enum<PackageStatusMessage.Status>
| Enum Constant and Description |
|---|
IMPORTED
The package has been imported
|
REMOVED
The package has been removed explicitly
|
REMOVED_FAILED
The package has been removed automatically after failing every retry attempts
|
| Modifier and Type | Method and Description |
|---|---|
static PackageStatusMessage.Status |
fromNumber(int number) |
int |
getNumber() |
static PackageStatusMessage.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PackageStatusMessage.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PackageStatusMessage.Status REMOVED_FAILED
public static final PackageStatusMessage.Status REMOVED
public static final PackageStatusMessage.Status IMPORTED
public static PackageStatusMessage.Status[] values()
for (PackageStatusMessage.Status c : PackageStatusMessage.Status.values()) System.out.println(c);
public static PackageStatusMessage.Status 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 int getNumber()
public static PackageStatusMessage.Status fromNumber(int number)
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.