public static enum TMLScript.ObjectType extends java.lang.Enum<TMLScript.ObjectType>
Enum Constant and Description |
---|
V1
TMLScript Objects V1, implicit access to the WebTML context of the current environment via root scope
|
V2
TMLScript Objects V2, no implicit access, access to full WebTML environment via arguments and WGA object
|
V2_ISOLATED
TMLScript Objects V2, no implicit access, access to limited WebTML environment via arguments and WGA object, no direct access to optional environment data like request, session etc.
|
Modifier and Type | Method and Description |
---|---|
static TMLScript.ObjectType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TMLScript.ObjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TMLScript.ObjectType V1
public static final TMLScript.ObjectType V2
public static final TMLScript.ObjectType V2_ISOLATED
public static TMLScript.ObjectType[] values()
for (TMLScript.ObjectType c : TMLScript.ObjectType.values()) System.out.println(c);
public static TMLScript.ObjectType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null