com.liferay.portal.kernel.license.messaging
Enum LCSPortletState
java.lang.Object
java.lang.Enum<LCSPortletState>
com.liferay.portal.kernel.license.messaging.LCSPortletState
- All Implemented Interfaces:
- Serializable, Comparable<LCSPortletState>
public enum LCSPortletState
- extends Enum<LCSPortletState>
GOOD
public static final LCSPortletState GOOD
NO_AVAILABLE_SERVERS
public static final LCSPortletState NO_AVAILABLE_SERVERS
NO_CONNECTION
public static final LCSPortletState NO_CONNECTION
NOT_REGISTERED
public static final LCSPortletState NOT_REGISTERED
NO_SUBSCRIPTION
public static final LCSPortletState NO_SUBSCRIPTION
PLUGIN_ABSENT
public static final LCSPortletState PLUGIN_ABSENT
UNDEFINED
public static final LCSPortletState UNDEFINED
values
public static LCSPortletState[] 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 (LCSPortletState c : LCSPortletState.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static LCSPortletState 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
valueOf
public static LCSPortletState valueOf(int intValue)
intValue
public int intValue()