Interface SandboxTaskContext
-
- All Known Implementing Classes:
SandboxServerContext
@ExperimentalApi public interface SandboxTaskContextThe 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.voidlog(Level level, Object message)Logs a message so it will be available for consuming bySandboxErrorConsumerin the host.
-
-
-
Method Detail
-
execute
<T,R> R execute(SandboxCallback<T,R> callback, T input)
Calls the givenSandboxCallback.- Type Parameters:
T- the input type ofSandboxCallbackR- the output type ofSandboxCallback
-
log
void log(Level level, Object message)
Logs a message so it will be available for consuming bySandboxErrorConsumerin the host.
-
-