Liferay 7.0-ce-b4

com.liferay.portal.kernel.license.messaging
Enum LCSPortletState

java.lang.Object
  extended by java.lang.Enum<LCSPortletState>
      extended by com.liferay.portal.kernel.license.messaging.LCSPortletState
All Implemented Interfaces:
Serializable, Comparable<LCSPortletState>

public enum LCSPortletState
extends Enum<LCSPortletState>


Enum Constant Summary
GOOD
           
NO_AVAILABLE_SERVERS
           
NO_CONNECTION
           
NO_SUBSCRIPTION
           
NOT_REGISTERED
           
PLUGIN_ABSENT
           
UNDEFINED
           
 
Method Summary
 int intValue()
           
static LCSPortletState valueOf(int intValue)
           
static LCSPortletState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LCSPortletState[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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()

Liferay 7.0-ce-b4