public static enum BackupUploadStatus.ErrorCode extends java.lang.Enum<BackupUploadStatus.ErrorCode>
Enum Constant and Description |
---|
BACKUP_NOT_EXIST |
FTP_NOT_CONFIGURED |
INVALID_BACKUP |
REMOTE_ALREADY_EXIST |
TO_BE_RECLAIMED |
UPLOAD_FAILURE |
Modifier and Type | Method and Description |
---|---|
static BackupUploadStatus.ErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BackupUploadStatus.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackupUploadStatus.ErrorCode FTP_NOT_CONFIGURED
public static final BackupUploadStatus.ErrorCode BACKUP_NOT_EXIST
public static final BackupUploadStatus.ErrorCode INVALID_BACKUP
public static final BackupUploadStatus.ErrorCode UPLOAD_FAILURE
public static final BackupUploadStatus.ErrorCode TO_BE_RECLAIMED
public static final BackupUploadStatus.ErrorCode REMOTE_ALREADY_EXIST
public static BackupUploadStatus.ErrorCode[] values()
for (BackupUploadStatus.ErrorCode c : BackupUploadStatus.ErrorCode.values()) System.out.println(c);
public static BackupUploadStatus.ErrorCode 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 null