public static enum BackupStatus.ErrStatus extends Enum<BackupStatus.ErrStatus>
| Enum Constant and Description |
|---|
COMPLETED |
FAILED |
IN_DETERMINATED |
IN_PROGRESS |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode()
Get code for the Status.
|
String |
getDescription()
Get description for the Status.
|
static BackupStatus.ErrStatus |
getStatus(int i)
Get Status object.
|
void |
setCode(int statusCode) |
void |
setDescription(String desc) |
static BackupStatus.ErrStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackupStatus.ErrStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackupStatus.ErrStatus IN_DETERMINATED
public static final BackupStatus.ErrStatus IN_PROGRESS
public static final BackupStatus.ErrStatus COMPLETED
public static final BackupStatus.ErrStatus FAILED
public static BackupStatus.ErrStatus[] values()
for (BackupStatus.ErrStatus c : BackupStatus.ErrStatus.values()) System.out.println(c);
public static BackupStatus.ErrStatus 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 static BackupStatus.ErrStatus getStatus(int i)
i - integer valuepublic int getCode()
public String getDescription()
public void setCode(int statusCode)
public void setDescription(String desc)
Copyright © 2014. All Rights Reserved.