public static enum DispatchedEvent.StatusCode extends Enum<DispatchedEvent.StatusCode>
Enum Constant and Description |
---|
STATUSCODE_CREATED |
STATUSCODE_DISPATCHED |
STATUSCODE_PROCESSING_COMPLETED |
STATUSCODE_PROCESSING_STARTED |
STATUSCODE_REQUEUED |
Modifier and Type | Method and Description |
---|---|
String |
getStatusCodeName() |
int |
getStatusCodeNumber() |
static DispatchedEvent.StatusCode |
lookup(int num) |
static DispatchedEvent.StatusCode |
lookup(String name) |
static String |
lookupName(int code) |
static Integer |
lookupNumber(String name) |
static DispatchedEvent.StatusCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DispatchedEvent.StatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DispatchedEvent.StatusCode STATUSCODE_CREATED
public static final DispatchedEvent.StatusCode STATUSCODE_DISPATCHED
public static final DispatchedEvent.StatusCode STATUSCODE_PROCESSING_STARTED
public static final DispatchedEvent.StatusCode STATUSCODE_PROCESSING_COMPLETED
public static final DispatchedEvent.StatusCode STATUSCODE_REQUEUED
public static DispatchedEvent.StatusCode[] values()
for (DispatchedEvent.StatusCode c : DispatchedEvent.StatusCode.values()) System.out.println(c);
public static DispatchedEvent.StatusCode 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 getStatusCodeNumber()
public String getStatusCodeName()
public static final DispatchedEvent.StatusCode lookup(int num)
public static final DispatchedEvent.StatusCode lookup(String name)
public static final String lookupName(int code)
Copyright © 2025. All rights reserved.