CTX
- The type of the context property.ContextAccessor<CTX>
, ContextAccessor.ContextMutator<CTX>
public static interface ContextAccessor.ContextProperty<CTX> extends ContextAccessor<CTX>, ContextAccessor.ContextMutator<CTX>
ContextAccessor.ContextBuilder<CTX,B extends ContextAccessor.ContextBuilder<CTX,B>>, ContextAccessor.ContextMutator<CTX>, ContextAccessor.ContextProperty<CTX>
Modifier and Type | Method | Description |
---|---|---|
default CTX |
letContext(CTX aContext) |
This method stores and passes through the given argument, which is
very useful for builder APIs: Sets the given context (setter) as of
ContextAccessor.ContextMutator.setContext(Object) and returns the very same value (getter). |
getContext
setContext
default CTX letContext(CTX aContext)
ContextAccessor.ContextMutator.setContext(Object)
and returns the very same value (getter).aContext
- The context to set (via ContextAccessor.ContextMutator.setContext(Object)
).Copyright © 2021. All rights reserved.