- Type Parameters:
CTX
- The context's type to be accessed.
- All Known Subinterfaces:
ContextAccessor.ContextProperty<CTX>
- Enclosing interface:
- ContextAccessor<CTX>
public static interface ContextAccessor.ContextMutator<CTX>
Provides a mutator for a context property.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setContext
(CTX aContext) Sets the context for the context property.
-
Method Details
-
setContext
Sets the context for the context property.- Parameters:
aContext
- The context to be stored by the context property.
-