Enum ResourceUpdate.UpdateKind
- java.lang.Object
-
- java.lang.Enum<ResourceUpdate.UpdateKind>
-
- org.palladiosimulator.pcmtx.pcmtxviews.resource.ResourceUpdate.UpdateKind
-
- All Implemented Interfaces:
Serializable
,Comparable<ResourceUpdate.UpdateKind>
- Enclosing class:
- ResourceUpdate
public static enum ResourceUpdate.UpdateKind extends Enum<ResourceUpdate.UpdateKind>
The kind of aResourceUpdate
.MODIFIED
if theIResource
is modified,DELETED
if theIResource
is deleted.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResourceUpdate.UpdateKind
valueOf(String name)
Returns the enum constant of this type with the specified name.static ResourceUpdate.UpdateKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MODIFIED
public static final ResourceUpdate.UpdateKind MODIFIED
-
DELETED
public static final ResourceUpdate.UpdateKind DELETED
-
-
Method Detail
-
values
public static ResourceUpdate.UpdateKind[] 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 (ResourceUpdate.UpdateKind c : ResourceUpdate.UpdateKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceUpdate.UpdateKind 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 nameNullPointerException
- if the argument is null
-
-