public enum EAS4MessageType extends Enum<EAS4MessageType> implements com.helger.commons.id.IHasID<String>
| Enum Constant and Description |
|---|
ERROR_MESSAGE |
PULL_REQUEST |
RECEIPT |
USER_MESSAGE |
| Modifier and Type | Method and Description |
|---|---|
static EAS4MessageType |
getFromIDOrNull(String sID) |
String |
getID() |
boolean |
isReceiptOrError() |
boolean |
isSignalMessage() |
boolean |
isUserMessage() |
static EAS4MessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EAS4MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EAS4MessageType ERROR_MESSAGE
public static final EAS4MessageType PULL_REQUEST
public static final EAS4MessageType RECEIPT
public static final EAS4MessageType USER_MESSAGE
public static EAS4MessageType[] values()
for (EAS4MessageType c : EAS4MessageType.values()) System.out.println(c);
public static EAS4MessageType 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 null@Nonnull @Nonempty public String getID()
getID in interface com.helger.commons.id.IHasID<String>public boolean isUserMessage()
public boolean isSignalMessage()
public boolean isReceiptOrError()
@Nullable public static EAS4MessageType getFromIDOrNull(@Nullable String sID)
Copyright © 2015–2020 Philip Helger. All rights reserved.