Interface RevisionSelector<T>
public interface RevisionSelector<T>
- Since:
- 3.9.0
-
Method Summary
Modifier and TypeMethodDescriptiondateOrAfter
(Date date) Searches firstRevision
which was created after or exactly atdate
.dateOrBefore
(Date date) Searches firstRevision
which was created before or exactly atdate
.Selects the Revision.reference
(RevisionReference reference) Finishes selecting the Revision, all other values are ignoredrepository
(String repositoryName) Selects the Repository.
-
Method Details
-
repository
Selects the Repository.- Throws:
IllegalStateException
- if this RevisionSelector instance is already in finished state.
-
id
Selects the Revision.- Throws:
IllegalStateException
- if this RevisionSelector instance is already in finished state.
-
dateOrBefore
Searches firstRevision
which was created before or exactly atdate
.- Returns:
- found
Revision
or baseline revision if found revision was less then baseline revision. - Throws:
IllegalStateException
- ifrepository(String)
method called before this method, because there is no implementation for revision search according to specified repositories.IllegalStateException
- if this RevisionSelector instance is already in finished state.- Since:
- 3.9.3
-
dateOrAfter
Searches firstRevision
which was created after or exactly atdate
.- Returns:
- founded
Revision
or undefinedRevision
if no revisions were found according todate
. - Throws:
IllegalStateException
- ifrepository(String)
method called before this method, because there is no implementation for revision search according to specified repositories.IllegalStateException
- if this RevisionSelector instance is already in finished state.- Since:
- 3.9.3
-