com.liferay.portal.kernel.license.messaging
Enum LicenseManagerMessageType
java.lang.Object
java.lang.Enum<LicenseManagerMessageType>
com.liferay.portal.kernel.license.messaging.LicenseManagerMessageType
- All Implemented Interfaces:
- Serializable, Comparable<LicenseManagerMessageType>
public enum LicenseManagerMessageType
- extends Enum<LicenseManagerMessageType>
LCS_AVAILABLE
public static final LicenseManagerMessageType LCS_AVAILABLE
SUBSCRIPTION_VALID
public static final LicenseManagerMessageType SUBSCRIPTION_VALID
VALIDATE_LCS
public static final LicenseManagerMessageType VALIDATE_LCS
VALIDATE_SUBSCRIPTION
public static final LicenseManagerMessageType VALIDATE_SUBSCRIPTION
MESSAGE_BUS_DESTINATION_REQUEST
public static String MESSAGE_BUS_DESTINATION_REQUEST
MESSAGE_BUS_DESTINATION_STATUS
public static String MESSAGE_BUS_DESTINATION_STATUS
values
public static LicenseManagerMessageType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (LicenseManagerMessageType c : LicenseManagerMessageType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static LicenseManagerMessageType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getMessagePayload
public static JSONObject getMessagePayload(Message message)
getMessagePayload
public static JSONObject getMessagePayload(Object object)
getMessagePayload
public static JSONObject getMessagePayload(String json)
valueOf
public static LicenseManagerMessageType valueOf(JSONObject jsonObject)
createMessage
public Message createMessage()
createMessage
public Message createMessage(LCSPortletState lcsPortletState)
getDestinationName
public String getDestinationName()