com.liferay.portal.kernel.spring.osgi
Enum OSGiBeanProperties.Type
java.lang.Object
java.lang.Enum<OSGiBeanProperties.Type>
com.liferay.portal.kernel.spring.osgi.OSGiBeanProperties.Type
- All Implemented Interfaces:
- Serializable, Comparable<OSGiBeanProperties.Type>
- Enclosing class:
- OSGiBeanProperties
public static enum OSGiBeanProperties.Type
- extends Enum<OSGiBeanProperties.Type>
BOOLEAN
public static final OSGiBeanProperties.Type BOOLEAN
BYTE
public static final OSGiBeanProperties.Type BYTE
CHARACTER
public static final OSGiBeanProperties.Type CHARACTER
DOUBLE
public static final OSGiBeanProperties.Type DOUBLE
FLOAT
public static final OSGiBeanProperties.Type FLOAT
INTEGER
public static final OSGiBeanProperties.Type INTEGER
LONG
public static final OSGiBeanProperties.Type LONG
SHORT
public static final OSGiBeanProperties.Type SHORT
STRING
public static final OSGiBeanProperties.Type STRING
values
public static OSGiBeanProperties.Type[] 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 (OSGiBeanProperties.Type c : OSGiBeanProperties.Type.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static OSGiBeanProperties.Type 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