Class VcsMatcher
-
- All Implemented Interfaces:
public final class VcsMatcherA matcher which matches its properties against a RepositoryProvenance.
-
-
Constructor Summary
Constructors Constructor Description VcsMatcher(VcsType type, String url, String revision)
-
Method Summary
Modifier and Type Method Description final VcsTypegetType()The type to match for equality against VcsInfo.type. final StringgetUrl()The url to match for equality against VcsInfo.url. final StringgetRevision()The revision to match for equality against RepositoryProvenance.resolvedRevision, or null to match any revision. final Booleanmatches(RepositoryProvenance provenance)-
-
Method Detail
-
getType
final VcsType getType()
The type to match for equality against VcsInfo.type.
-
getUrl
final String getUrl()
The url to match for equality against VcsInfo.url.
-
getRevision
final String getRevision()
The revision to match for equality against RepositoryProvenance.resolvedRevision, or null to match any revision.
-
matches
final Boolean matches(RepositoryProvenance provenance)
-
-
-
-