net.sf.farrago.syslib
Enum FarragoBackupType
java.lang.Object
java.lang.Enum<FarragoBackupType>
net.sf.farrago.syslib.FarragoBackupType
- All Implemented Interfaces:
- Serializable, Comparable<FarragoBackupType>
public enum FarragoBackupType
- extends Enum<FarragoBackupType>
FarragoBackupType defines the possible backup type values.
- Version:
- $Id: //open/dev/farrago/src/net/sf/farrago/syslib/FarragoBackupType.java#4 $
FULL
public static final FarragoBackupType FULL
INCREMENTAL
public static final FarragoBackupType INCREMENTAL
DIFFERENTIAL
public static final FarragoBackupType DIFFERENTIAL
values
public static final FarragoBackupType[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(FarragoBackupType c : FarragoBackupType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static FarragoBackupType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name