Enum AResourceDelta.AResourceDeltaKind
- java.lang.Object
-
- java.lang.Enum<AResourceDelta.AResourceDeltaKind>
-
- org.faktorips.devtools.abstraction.AResourceDelta.AResourceDeltaKind
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AResourceDelta.AResourceDeltaKind>
- Enclosing interface:
- AResourceDelta
public static enum AResourceDelta.AResourceDeltaKind extends java.lang.Enum<AResourceDelta.AResourceDeltaKind>
Different kinds of resource changes.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AResourceDelta.AResourceDeltaKindvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AResourceDelta.AResourceDeltaKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADDED
public static final AResourceDelta.AResourceDeltaKind ADDED
The resource was newly added to its parent
-
REMOVED
public static final AResourceDelta.AResourceDeltaKind REMOVED
The resource was newly removed from its parent
-
CHANGED
public static final AResourceDelta.AResourceDeltaKind CHANGED
The resource was changed in any other way, for example its content changed
-
-
Method Detail
-
values
public static AResourceDelta.AResourceDeltaKind[] 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 (AResourceDelta.AResourceDeltaKind c : AResourceDelta.AResourceDeltaKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AResourceDelta.AResourceDeltaKind valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-