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 TypeMethodDescriptionbooleanapply(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, waitMethods 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:
applyin interfacecom.google.common.base.Predicate<Repository>- Parameters:
repository- repository to check
-