public enum AssetConsumerEventType extends Enum<AssetConsumerEventType> implements Serializable
| Enum Constant and Description |
|---|
NEW_ASSET_EVENT |
UNKNOWN_ASSET_CONSUMER_EVENT |
UPDATED_ASSET_EVENT |
| Modifier and Type | Method and Description |
|---|---|
int |
getEventTypeCode()
Return the int identifier used for indexing based on the enum.
|
String |
getEventTypeDescription()
Return the default description for the enum value - used when natural resource
bundle is not available.
|
String |
getEventTypeName()
Return the string name used for messages that include the enum.
|
String |
toString()
JSON-style toString
|
static AssetConsumerEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssetConsumerEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssetConsumerEventType UNKNOWN_ASSET_CONSUMER_EVENT
public static final AssetConsumerEventType NEW_ASSET_EVENT
public static final AssetConsumerEventType UPDATED_ASSET_EVENT
public static AssetConsumerEventType[] values()
for (AssetConsumerEventType c : AssetConsumerEventType.values()) System.out.println(c);
public static AssetConsumerEventType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getEventTypeCode()
public String getEventTypeName()
public String getEventTypeDescription()
public String toString()
toString in class Enum<AssetConsumerEventType>Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.