Package sonia.scm.repository
Class RepositoryTypePredicate
java.lang.Object
sonia.scm.repository.RepositoryTypePredicate
- All Implemented Interfaces:
com.google.common.base.Predicate<Repository>
,Predicate<Repository>
public class RepositoryTypePredicate
extends Object
implements com.google.common.base.Predicate<Repository>
Used to filter collections of repositories by its type.
- Since:
- 1.16
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
apply
(Repository repository) Return true if the repository is from the given type.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.common.base.Predicate
equals, test
-
Constructor Details
-
RepositoryTypePredicate
-
-
Method Details
-
apply
Return true if the repository is from the given type.- Specified by:
apply
in interfacecom.google.common.base.Predicate<Repository>
- Parameters:
repository
- repository to check
-