| com.atlassian.stash.idx.DeprecatedChangesetIndex |
Known Indirect Subclasses
|
This interface is deprecated.
in 3.4 for removal in 4.0. Use CommitIndex instead, which more accurately reflects the purpose of
this component
Index to store meta data around changesets. This interface serves to decouple changeset indexing from storing metadata in an index.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
in 3.4 for removal in 4.0. Use
addProperty(String, String, String) instead
| |||||||||||
Associates the provided
Changeset with the specified Repository. | |||||||||||
This method is deprecated.
in 2.12 for removal in 4.0. Use
CommitEnricher,
which applies other useful attributes in addition to index data, instead.
| |||||||||||
This method is deprecated.
in 2.12 for removal in 4.0. Use
CommitEnricher,
which applies other useful attributes in addition to index data, instead.
| |||||||||||
This method is deprecated.
in 3.4 for removal in 4.0. Use
findByProperty(String, String, boolean, PageRequest) instead
| |||||||||||
This method is deprecated.
in 3.4 for removal in 4.0. Use
getProperties(String, Iterable) instead.
| |||||||||||
This method is deprecated.
in 3.4 for removal in 4.0. Use
getProperties(Iterable, Iterable) instead.
| |||||||||||
Retrieves the IndexedChangeset with id =
csid | |||||||||||
This method is deprecated.
in 3.4 for removal in 4.0. Use
removeProperty(String, String, String) instead.
| |||||||||||
Unregisters a changeset as being present in a repository.
| |||||||||||
Search the index for any matching changesets.
| |||||||||||
This method is deprecated.
in 3.4 for removal in 4.0. Use addProperty(String, String, String) instead
Stores a changeset attribute. If the attribute (name-value pair) already exists, calling this method will have no effect.
| csid | the changeset id |
|---|---|
| name | the attribute name |
| value | the attribute value |
Associates the provided Changeset with the specified Repository.
| changeset | the changeset |
|---|---|
| repository | the repository |
This method is deprecated.
in 2.12 for removal in 4.0. Use CommitEnricher,
which applies other useful attributes in addition to index data, instead.
Enriches the provided Changeset by applying attributes from the
index.
attributeNames collection may be null or empty and one or more
attributes may still be loaded.| changeset | the changeset to enrich by adding attributes |
|---|---|
| repository | the repository associated with the request, to allow retrieving configuration for attributes to preload |
| attributeNames | a collection containing zero or more attribute names to explicitly load, in addition
to any attributes configured for preloading, or null to only load configured
preload attributes |
This method is deprecated.
in 2.12 for removal in 4.0. Use CommitEnricher,
which applies other useful attributes in addition to index data, instead.
Enriches each Changeset on the provided Page by applying attributes from the index.
attributeNames collection may be null or empty and one or more
attributes may still be loaded.| changesets | a page containing one or more changesets to enrich |
|---|---|
| repository | the repository associated with the request, to allow retrieving configuration for attributes to preload |
| attributeNames | a collection containing zero or more attribute names to explicitly load, in addition
to any attributes configured for preloading, or null to only load configured
preload attributes |
This method is deprecated.
in 3.4 for removal in 4.0. Use
findByProperty(String, String, boolean, PageRequest) instead
Retrieves all indexed changesets that have a given attribute with a specified value.
| attributeName | the attribute name |
|---|---|
| attributeValue | the attribute value |
| caseSensitive | whether matches against value should be case-sensitive |
This method is deprecated.
in 3.4 for removal in 4.0. Use getProperties(String, Iterable) instead.
Retrieves values for the named attributes for the specified changeset.
| csid | the changeset id |
|---|---|
| attributeNames | the attribute name |
attributeNames for changeset csid. Can be empty, but not
null.
This method is deprecated.
in 3.4 for removal in 4.0. Use getProperties(Iterable, Iterable) instead.
Retrieves values for the named attributes for each of the specified changesets, returning a map pairing each changeset with its loaded attributes.
| csids | a collection of changeset ids |
|---|---|
| attributeNames | the attribute name |
attributeNames for all the changesets in csids.
Can be empty, but not null.Retrieves the IndexedChangeset with id = csid
| csid | the changeset id |
|---|
IndexedChangeset, or null if no such changeset exists in the index
| changesetId | the changeset id |
|---|---|
| repository | the repository |
true if the provided changeset is (indexed as) a member of repository
This method is deprecated.
in 3.4 for removal in 4.0. Use removeProperty(String, String, String) instead.
Removes a changeset attribute.
| csid | the changeset id |
|---|---|
| name | the attribute name |
| value | the attribute value |
Unregisters a changeset as being present in a repository.
| csid | the changeset id |
|---|---|
| repository | the repository |
Search the index for any matching changesets.
| searchRequest | the criteria to match |
|---|---|
| pageRequest | a pageRequest to delimit the search |
IndexedChangeset, possibly empty if no changeset in the index matches