public static enum Variable.Scope extends Enum<Variable.Scope>
Enum Constant and Description |
---|
CHILDREN
The scope of the variable is the current outlet and
recursively all the outlets in the merge points accessed
in the generation process.
|
FILE
The variable is visible throughout the generation process of this
file.
|
GLOBAL
The variable is visible throughout the whole generation process.
|
OUTLET
The scope of the variable is limited to the current outlet.
|
Modifier and Type | Method and Description |
---|---|
static Variable.Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Variable.Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Variable.Scope OUTLET
public static final Variable.Scope CHILDREN
public static final Variable.Scope FILE
public static final Variable.Scope GLOBAL
public static Variable.Scope[] values()
for (Variable.Scope c : Variable.Scope.values()) System.out.println(c);
public static Variable.Scope valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2000–2020 The Apache Software Foundation. All rights reserved.