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