public enum LicenseManagerMessageType extends Enum<LicenseManagerMessageType>
Enum Constant and Description |
---|
LCS_AVAILABLE |
SUBSCRIPTION_VALID |
VALIDATE_LCS |
VALIDATE_SUBSCRIPTION |
Modifier and Type | Field and Description |
---|---|
static String |
MESSAGE_BUS_DESTINATION_REQUEST |
static String |
MESSAGE_BUS_DESTINATION_STATUS |
Modifier and Type | Method and Description |
---|---|
Message |
createMessage() |
Message |
createMessage(LCSPortletState lcsPortletState) |
String |
getDestinationName() |
static JSONObject |
getMessagePayload(Message message) |
static JSONObject |
getMessagePayload(Object object) |
static JSONObject |
getMessagePayload(String json) |
static LicenseManagerMessageType |
valueOf(JSONObject jsonObject) |
static LicenseManagerMessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LicenseManagerMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LicenseManagerMessageType LCS_AVAILABLE
public static final LicenseManagerMessageType SUBSCRIPTION_VALID
public static final LicenseManagerMessageType VALIDATE_LCS
public static final LicenseManagerMessageType VALIDATE_SUBSCRIPTION
public static String MESSAGE_BUS_DESTINATION_REQUEST
public static String MESSAGE_BUS_DESTINATION_STATUS
public static LicenseManagerMessageType[] values()
for (LicenseManagerMessageType c : LicenseManagerMessageType.values()) System.out.println(c);
public static LicenseManagerMessageType 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 static JSONObject getMessagePayload(Message message)
public static JSONObject getMessagePayload(Object object)
public static JSONObject getMessagePayload(String json)
public static LicenseManagerMessageType valueOf(JSONObject jsonObject)
public Message createMessage()
public Message createMessage(LCSPortletState lcsPortletState)
public String getDestinationName()