Package com.composum.platform.htl.impl
Enum AttributesUseProvider.Scope
- java.lang.Object
-
- java.lang.Enum<AttributesUseProvider.Scope>
-
- com.composum.platform.htl.impl.AttributesUseProvider.Scope
-
- All Implemented Interfaces:
Serializable
,Comparable<AttributesUseProvider.Scope>
- Enclosing class:
- AttributesUseProvider
public static enum AttributesUseProvider.Scope extends Enum<AttributesUseProvider.Scope>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AttributesUseProvider.Scope
valueOf(String name)
Returns the enum constant of this type with the specified name.static AttributesUseProvider.Scope[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BINDINGS
public static final AttributesUseProvider.Scope BINDINGS
From the script bindings.
-
PAGE
public static final AttributesUseProvider.Scope PAGE
A page context simulated byEmulatedPageContext
.
-
REQUEST
public static final AttributesUseProvider.Scope REQUEST
-
SESSION
public static final AttributesUseProvider.Scope SESSION
-
VALUE
public static final AttributesUseProvider.Scope VALUE
Explicit value given with parameter "value" - this corresponds to a typecast.
-
-
Method Detail
-
values
public static AttributesUseProvider.Scope[] 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 (AttributesUseProvider.Scope c : AttributesUseProvider.Scope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AttributesUseProvider.Scope 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 nameNullPointerException
- if the argument is null
-
-