Interface SandboxCallbackContext


@ExperimentalApi public interface SandboxCallbackContext
The execution context for a SandboxCallback. A global object of a specific type can be registered by SandboxSpec.SpecBuilder.registerCallbackContextObject(Class, Object) into the context and retrieved later during the execution of SandboxCallback.apply(SandboxCallbackContext, Object).
Since:
6.10
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> Optional<T>
    get(Class<T> type)