Interface SandboxTaskContext
-
- All Known Implementing Classes:
SandboxServerContext
@ExperimentalApi public interface SandboxTaskContext
The execution context for aSandboxTask
.- Since:
- 6.10
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T,R>
Rexecute(SandboxCallback<T,R> callback, T input)
Calls the givenSandboxCallback
.void
log(Level level, Object message)
Logs a message so it will be available for consuming bySandboxErrorConsumer
in the host.
-
-
-
Method Detail
-
execute
<T,R> R execute(SandboxCallback<T,R> callback, T input)
Calls the givenSandboxCallback
.- Type Parameters:
T
- the input type ofSandboxCallback
R
- the output type ofSandboxCallback
-
log
void log(Level level, Object message)
Logs a message so it will be available for consuming bySandboxErrorConsumer
in the host.
-
-