org.apache.commons.transaction.file
Enum FileResourceUndoManager.Code
java.lang.Object
java.lang.Enum<FileResourceUndoManager.Code>
org.apache.commons.transaction.file.FileResourceUndoManager.Code
- All Implemented Interfaces:
- Serializable, Comparable<FileResourceUndoManager.Code>
- Enclosing interface:
- FileResourceUndoManager
public static enum FileResourceUndoManager.Code
- extends Enum<FileResourceUndoManager.Code>
DELETED_DIRECTORY
public static final FileResourceUndoManager.Code DELETED_DIRECTORY
UPDATED_CONTENT
public static final FileResourceUndoManager.Code UPDATED_CONTENT
CREATED
public static final FileResourceUndoManager.Code CREATED
values
public static FileResourceUndoManager.Code[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (FileResourceUndoManager.Code c : FileResourceUndoManager.Code.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FileResourceUndoManager.Code 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
NullPointerException - if the argument is null
Copyright © 2004-2007 The Apache Software Foundation. All Rights Reserved.