public enum GroovyCompilerScope extends Enum<GroovyCompilerScope>
Enum Constant and Description |
---|
DEFAULT
Default scope, exposes groovy.jar (loaded from the parent) and the shared cli
package (loaded via groovy classloader).
|
EXTENSION
Extension scope, allows full access to internal CLI classes.
|
Modifier and Type | Method and Description |
---|---|
static GroovyCompilerScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroovyCompilerScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroovyCompilerScope DEFAULT
public static final GroovyCompilerScope EXTENSION
public static GroovyCompilerScope[] values()
for (GroovyCompilerScope c : GroovyCompilerScope.values()) System.out.println(c);
public static GroovyCompilerScope 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 © 2021 Pivotal Software, Inc.. All rights reserved.