public static enum ExecutionConfig.ClosureCleanerLevel extends Enum<ExecutionConfig.ClosureCleanerLevel>
Enum Constant and Description |
---|
NONE
Disable the closure cleaner completely.
|
RECURSIVE
Clean all the fields recursively.
|
TOP_LEVEL
Clean only the top-level class without recursing into fields.
|
Modifier and Type | Method and Description |
---|---|
static ExecutionConfig.ClosureCleanerLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExecutionConfig.ClosureCleanerLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExecutionConfig.ClosureCleanerLevel NONE
public static final ExecutionConfig.ClosureCleanerLevel TOP_LEVEL
public static final ExecutionConfig.ClosureCleanerLevel RECURSIVE
public static ExecutionConfig.ClosureCleanerLevel[] values()
for (ExecutionConfig.ClosureCleanerLevel c : ExecutionConfig.ClosureCleanerLevel.values()) System.out.println(c);
public static ExecutionConfig.ClosureCleanerLevel 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 © 2014–2020 The Apache Software Foundation. All rights reserved.