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