info.magnolia.module.delta
Enum DeltaType
java.lang.Object
java.lang.Enum<DeltaType>
info.magnolia.module.delta.DeltaType
- All Implemented Interfaces:
- Serializable, Comparable<DeltaType>
public enum DeltaType
- extends Enum<DeltaType>
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
Method Summary |
static DeltaType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DeltaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
startup
public static final DeltaType startup
install
public static final DeltaType install
update
public static final DeltaType update
uninstall
public static final DeltaType uninstall
values
public static DeltaType[] 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 (DeltaType c : DeltaType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DeltaType 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 © 2003-2013 Magnolia International Ltd.. All Rights Reserved.