T - Type of element that the operation is applied topublic class ContextOperationAdaptor<T> extends ContextAdaptor<Operation<T>,T,T> implements Operation<Context>
extract, inner, insert| Constructor and Description |
|---|
ContextOperationAdaptor(Operation<T> inner,
ContextExtractor<T> extract)
Construct with the given operation and extractor
|
ContextOperationAdaptor(Operation<T> inner,
String extract)
Construct with the given operation.
|
public ContextOperationAdaptor(Operation<T> inner, ContextExtractor<T> extract)
inner - the operationextract - the extractorpublic ContextOperationAdaptor(Operation<T> inner, String extract)
KeyContextExtractor created from the given key.inner - the operationextract - the keypublic void perform(Context object)
Operationpublic static <IN> Operation<Context> create(Operation<IN> operation, String extract)
ContextOperationAdaptor.operation - the operationextract - the key to extract fromContextOperationAdaptor(Operation,
ContextExtractor)