org.kie.uberfire.plugin.model
Enum Framework
java.lang.Object
java.lang.Enum<Framework>
org.kie.uberfire.plugin.model.Framework
- All Implemented Interfaces:
- Serializable, Comparable<Framework>
@Portable
public enum Framework
- extends Enum<Framework>
|
Method Summary |
String |
getType()
|
static Framework |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Framework[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
NONE
public static final Framework NONE
ANGULAR
public static final Framework ANGULAR
KNOCKOUT
public static final Framework KNOCKOUT
values
public static Framework[] 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 (Framework c : Framework.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Framework 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
getType
public String getType()
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.