Package com.polarion.alm.builder.util
Class BuildArtifactMatcher
java.lang.Object
com.polarion.alm.builder.util.BuildArtifactMatcher
Matching selectors and artifacts.
- Version:
- $Revision$ $Date$
- Author:
- Stepan Roh, Polarion Software
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
matches
(IBuildArtifactSelector selector, IBuildArtifact artifact) Match.static boolean
matches
(IBuildArtifactSelector selector, String groupId, String artifactId, String repoTag) Match.static boolean
matches
(Collection selectors, IBuildArtifact artifact) Match.static boolean
matches
(Collection selectors, String groupId, String artifactId, String repoTag) Match.
-
Method Details
-
matches
Match.- Parameters:
selector
- selectorartifact
- build artifact- Returns:
true
if matches,false
otherwise
-
matches
Match.Empty collection matches everything.
- Parameters:
selectors
-Collection
ofIBuildArtifactSelector
sartifact
- build artifact- Returns:
true
if matches,false
otherwise
-
matches
public static boolean matches(IBuildArtifactSelector selector, String groupId, String artifactId, String repoTag) Match.- Parameters:
selector
- selectorgroupId
- group idartifactId
- artifatc idrepoTag
- repository tag- Returns:
true
if matches,false
otherwise
-
matches
public static boolean matches(Collection selectors, String groupId, String artifactId, String repoTag) Match.Empty collection matches everything.
- Parameters:
selectors
-Collection
ofIBuildArtifactSelector
sgroupId
- group idartifactId
- artifatc idrepoTag
- repository tag- Returns:
true
if matches,false
otherwise
-