Enum Constant and Description |
---|
DEPLOYMENT_COMPLETED |
DEPLOYMENT_CREATED |
DEPLOYMENT_STARTED |
PROMOTION_COMPLETED |
Modifier and Type | Method and Description |
---|---|
static EventType |
forMimeType(java.lang.String mimeType)
Returns the appropriate event type for a given MIME type.
|
java.lang.String |
getMimeType() |
static EventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventType DEPLOYMENT_CREATED
public static final EventType DEPLOYMENT_STARTED
public static final EventType DEPLOYMENT_COMPLETED
public static final EventType PROMOTION_COMPLETED
public static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getMimeType()
public static EventType forMimeType(java.lang.String mimeType)
mimeType
- MIME type value.null
if no match could be made.