net.sf.farrago.syslib
Enum FarragoBackupType

java.lang.Object
  extended by java.lang.Enum<FarragoBackupType>
      extended by 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 $

Enum Constant Summary
DIFFERENTIAL
           
FULL
           
INCREMENTAL
           
 
Method Summary
static FarragoBackupType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FarragoBackupType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FULL

public static final FarragoBackupType FULL

INCREMENTAL

public static final FarragoBackupType INCREMENTAL

DIFFERENTIAL

public static final FarragoBackupType DIFFERENTIAL
Method Detail

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