Modifier and Type | Method and Description |
---|---|
static Object |
GroovySandbox.run(groovy.lang.GroovyShell shell,
String script,
Whitelist whitelist)
|
static Object |
GroovySandbox.run(groovy.lang.Script script,
Whitelist whitelist)
Deprecated.
|
static void |
GroovySandbox.runInSandbox(Runnable r,
Whitelist whitelist)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static RejectedAccessException |
StaticWhitelist.rejectField(Field f) |
static RejectedAccessException |
StaticWhitelist.rejectMethod(Method m) |
static RejectedAccessException |
StaticWhitelist.rejectMethod(Method m,
String info) |
static RejectedAccessException |
StaticWhitelist.rejectNew(Constructor<?> c) |
static RejectedAccessException |
StaticWhitelist.rejectStaticField(Field f) |
static RejectedAccessException |
StaticWhitelist.rejectStaticMethod(Method m) |
Modifier and Type | Method and Description |
---|---|
RejectedAccessException |
ScriptApproval.accessRejected(RejectedAccessException x,
ApprovalContext context)
Deprecated.
Unnecessary if using
GroovySandbox.enter() . |
Modifier and Type | Method and Description |
---|---|
RejectedAccessException |
ScriptApproval.accessRejected(RejectedAccessException x,
ApprovalContext context)
Deprecated.
Unnecessary if using
GroovySandbox.enter() . |
static void |
ScriptApproval.maybeRegister(RejectedAccessException x) |
static void |
ScriptApprovalNote.print(TaskListener listener,
RejectedAccessException x) |
Modifier and Type | Method and Description |
---|---|
static void |
ScriptApproval.pushRegistrationCallback(Consumer<RejectedAccessException> callback) |
Copyright © 2016–2022. All rights reserved.