| Enum Constant and Description |
|---|
CallerClassLoader
The caller
ClassLoader is visible to the script during execution. |
IsolatedClassLoader
The script executes in an isolated
ClassLoader. |
| Modifier and Type | Method and Description |
|---|---|
static Isolation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Isolation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Isolation CallerClassLoader
ClassLoader is visible to the script during execution.
This allows to see all classes from the script that are visible in the calling application.public static final Isolation IsolatedClassLoader
ClassLoader.
This hides all classes of the calling application.public static Isolation[] values()
for (Isolation c : Isolation.values()) System.out.println(c);
public static Isolation 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