public interface Context
extends 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 |
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() |
java.util.Map<java.lang.String,java.lang.Object> |
flatten() |
java.lang.Boolean |
getBoolean(java.lang.String key) |
java.lang.Boolean |
getBoolean(java.lang.String key,
boolean def) |
java.lang.Double |
getDouble(java.lang.String key) |
java.lang.Double |
getDouble(java.lang.String key,
double def) |
java.lang.Integer |
getInt(java.lang.String key) |
java.lang.Integer |
getInt(java.lang.String key,
int def) |
java.lang.Long |
getLong(java.lang.String key) |
java.lang.Long |
getLong(java.lang.String key,
long def) |
<any> |
getParentContext()
Return this context's immediate parent
|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
Deprecated.
|
java.lang.Object |
getProperty(java.lang.String name)
Deprecated.
|
<T> T |
getProperty(java.lang.String name,
<any> type)
Deprecated.
|
<T> T |
getProperty(java.lang.String name,
java.lang.Class<T> clazz)
Deprecated.
|
<T> T |
getProperty(java.lang.String name,
T def)
Deprecated.
|
<T> T |
getProperty(java.lang.String name,
T def,
<any> type)
Deprecated.
|
<T> T |
getProperty(java.lang.String name,
T def,
java.lang.Class<T> clazz)
Deprecated.
|
<any> |
getSignal() |
<M> StageCallback<M> |
getStageCallback() |
java.lang.String |
getString(java.lang.String key) |
java.lang.String |
getString(java.lang.String key,
java.lang.String def) |
boolean |
hasProperty(java.lang.String key)
Deprecated.
|
boolean |
isSignal() |
boolean |
isSignal(java.lang.String signal) |
Context |
newChildContext() |
Context |
newChildContext(StageCallback<?> callback) |
java.lang.Object |
removeProperty(java.lang.String key)
Deprecated.
|
<T> T |
removeProperty(java.lang.String key,
T def)
Deprecated.
|
Context |
set(java.lang.String key,
java.lang.Object value) |
void |
setProperties(java.util.Map<java.lang.String,java.lang.Object> props)
Deprecated.
|
void |
setProperty(java.lang.String key,
java.lang.Object value)
Deprecated.
|
Context |
setShared(java.lang.String key,
java.lang.Object value) |
void |
setSignal(java.lang.String signal,
java.lang.String value) |
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
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()
java.lang.Integer getInt(java.lang.String key)
java.lang.Integer getInt(java.lang.String key, int def)
java.lang.Long getLong(java.lang.String key)
java.lang.Long getLong(java.lang.String key, long def)
java.lang.Double getDouble(java.lang.String key)
java.lang.Double getDouble(java.lang.String key, double def)
java.lang.Boolean getBoolean(java.lang.String key)
java.lang.Boolean getBoolean(java.lang.String key, boolean def)
java.lang.String getString(java.lang.String key)
java.lang.String getString(java.lang.String key, java.lang.String def)
Context set(java.lang.String key, java.lang.Object value)
Context setShared(java.lang.String key, java.lang.Object value)
java.util.Map<java.lang.String,java.lang.Object> flatten()
<M> StageCallback<M> getStageCallback()
@Deprecated java.util.Map<java.lang.String,java.lang.Object> getProperties()
@Deprecated java.lang.Object removeProperty(java.lang.String key)
@Deprecated <T> T removeProperty(java.lang.String key, T def)
@Deprecated boolean hasProperty(java.lang.String key)
@Deprecated java.lang.Object getProperty(java.lang.String name)
@Deprecated <T> T getProperty(java.lang.String name, T def)
@Deprecated <T> T getProperty(java.lang.String name, java.lang.Class<T> clazz)
@Deprecated <T> T getProperty(java.lang.String name, <any> type)
@Deprecated <T> T getProperty(java.lang.String name, T def, java.lang.Class<T> clazz)
@Deprecated <T> T getProperty(java.lang.String name, T def, <any> type)
@Deprecated void setProperty(java.lang.String key, java.lang.Object value)
@Deprecated void setProperties(java.util.Map<java.lang.String,java.lang.Object> props)