| com.atlassian.bitbucket.idx.IndexingContext |
Used to by CommitIndexers to store state during the indexing process. A new context will be used for each
indexing run, but for each run the same context will be shared by all enabled indexers.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Retrieve an object from the context.
| |||||||||||
Sets a key-value pair in the context.
| |||||||||||
Removes a key-value pair from the context.
| |||||||||||
Retrieve an object from the context.
| key | the key to lookup |
|---|
null if not present in the context
Sets a key-value pair in the context. Keys used should be distinctive as the same context is shared across
all enabled indexers for a given repository.
| key | the key to store the value under, which should be unique |
|---|---|
| value | the value to store |
null if the key is new
Removes a key-value pair from the context.
| key | the key to remove |
|---|
null if the key was not in the context