org.jboss.test.faces.annotation
Enum Environment.Feature
java.lang.Object
java.lang.Enum<Environment.Feature>
org.jboss.test.faces.annotation.Environment.Feature
- All Implemented Interfaces:
- Serializable, Comparable<Environment.Feature>
- Enclosing class:
- Environment
public static enum Environment.Feature
- extends Enum<Environment.Feature>
The feature of the mocked JSF environment
- Author:
- asmirnov
FACTORIES
public static final Environment.Feature FACTORIES
FACES_CONTEXT
public static final Environment.Feature FACES_CONTEXT
EXTERNAL_CONTEXT
public static final Environment.Feature EXTERNAL_CONTEXT
EL_CONTEXT
public static final Environment.Feature EL_CONTEXT
SERVLET_REQUEST
public static final Environment.Feature SERVLET_REQUEST
APPLICATION
public static final Environment.Feature APPLICATION
RENDER_KIT
public static final Environment.Feature RENDER_KIT
RESPONSE_WRITER
public static final Environment.Feature RESPONSE_WRITER
values
public static Environment.Feature[] 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 (Environment.Feature c : Environment.Feature.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Environment.Feature 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
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.