public interface Context extends PropertyContext, DeprecatedContext, java.util.Map<java.lang.String,java.lang.Object>
Modifier and Type | Interface and Description |
---|---|
static class |
Context.Signal |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ANNOTATED_QUERY |
static java.lang.String |
ASYNC |
static java.lang.String |
AUTHZ_CONTEXT |
static java.lang.String |
COLLECTION_PROPERTY |
static java.lang.String |
DEBUG |
static java.lang.String |
EndOfBatchSignal |
static java.lang.String |
EVENT_TYPES |
static java.lang.String |
EVENTS_COLLECTION |
static java.lang.String |
EVENTS_PIPELINE |
static java.lang.String |
EXCLUDE_EXTENSIONS |
static java.lang.String |
EXPERIMENT_COLLECTION_FOR_SIGNALS |
static java.lang.String |
EXPERIMENT_ID |
static java.lang.String |
EXPERIMENT_VARIANT |
static java.lang.String |
HTTP_METHOD |
static java.lang.String |
INNER_PIPELINE |
static java.lang.String |
JobId |
static java.lang.String |
PipelineId |
static java.lang.String |
PipeLineInstanceId |
static java.lang.String |
REQUEST_CONTENT_TYPE |
static java.lang.String |
REQUEST_HANDLER |
static java.lang.String |
REQUEST_PARAMS |
static java.lang.String |
RESPONSE_TRANSFORMER |
static java.lang.String |
Signal |
static java.lang.String |
Simulate |
static java.lang.String |
SIMULATE |
static java.lang.String |
SolrCommitSignal |
static java.lang.String |
SolrDeleteByIdSignal |
static java.lang.String |
SolrDeleteByQuerySignal |
static java.lang.String |
STAGE_INDEX |
static java.lang.String |
ThrowOnError |
Modifier and Type | Method and Description |
---|---|
void |
clearSignal() |
Context |
copyOf() |
java.util.Map<java.lang.String,java.lang.Object> |
flatten() |
<any> |
getParentContext()
Return this context's immediate parent
|
<any> |
getSignal() |
<M> StageCallback<M> |
getStageCallback() |
boolean |
isSignal() |
boolean |
isSignal(java.lang.String signal) |
Context |
newChildContext() |
Context |
newChildContext(StageCallback<?> callback) |
Context |
set(java.lang.String key,
java.lang.Object value) |
Context |
setShared(java.lang.String key,
java.lang.Object value) |
void |
setSignal(java.lang.String signal,
java.lang.String value) |
getBoolean, getBoolean, getDouble, getDouble, getInt, getInt, getLong, getLong, getString, getString
getProperties, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, hasProperty, removeProperty, removeProperty, setProperties, setProperty
static final java.lang.String PipelineId
static final java.lang.String PipeLineInstanceId
static final java.lang.String JobId
static final java.lang.String Simulate
static final java.lang.String Signal
static final java.lang.String ThrowOnError
static final java.lang.String COLLECTION_PROPERTY
static final java.lang.String HTTP_METHOD
static final java.lang.String ASYNC
static final java.lang.String REQUEST_HANDLER
static final java.lang.String EXCLUDE_EXTENSIONS
static final java.lang.String SIMULATE
static final java.lang.String STAGE_INDEX
static final java.lang.String REQUEST_PARAMS
static final java.lang.String RESPONSE_TRANSFORMER
static final java.lang.String EVENTS_PIPELINE
static final java.lang.String EVENTS_COLLECTION
static final java.lang.String EVENT_TYPES
static final java.lang.String AUTHZ_CONTEXT
static final java.lang.String DEBUG
static final java.lang.String INNER_PIPELINE
static final java.lang.String REQUEST_CONTENT_TYPE
static final java.lang.String EndOfBatchSignal
static final java.lang.String SolrCommitSignal
static final java.lang.String SolrDeleteByIdSignal
static final java.lang.String SolrDeleteByQuerySignal
static final java.lang.String EXPERIMENT_ID
static final java.lang.String EXPERIMENT_VARIANT
static final java.lang.String EXPERIMENT_COLLECTION_FOR_SIGNALS
static final java.lang.String ANNOTATED_QUERY
Context copyOf()
Context newChildContext()
Context newChildContext(StageCallback<?> callback)
<any> getParentContext()
boolean isSignal()
boolean isSignal(java.lang.String signal)
<any> getSignal()
void setSignal(java.lang.String signal, java.lang.String value)
void clearSignal()
Context set(java.lang.String key, java.lang.Object value)
set
in interface PropertyContext
Context setShared(java.lang.String key, java.lang.Object value)
java.util.Map<java.lang.String,java.lang.Object> flatten()
<M> StageCallback<M> getStageCallback()