Package sonia.scm.search
Class Hit
java.lang.Object
sonia.scm.search.Hit
Represents an object which matched the search query.
- Since:
- 2.21.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Base class of hit field types.static class
A field which consists of fragments that contain a match of the search query.static class
A field holding a complete value. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns optional id of a repository which associated with the hit or empty if the hit is not associated with any repository.
-
Constructor Details
-
Hit
public Hit()
-
-
Method Details
-
getRepositoryId
Returns optional id of a repository which associated with the hit or empty if the hit is not associated with any repository.- Returns:
- optional repository id
- Since:
- 2.23.0
-