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 booleanmatches(IBuildArtifactSelector selector, IBuildArtifact artifact) Match.static booleanmatches(IBuildArtifactSelector selector, String groupId, String artifactId, String repoTag) Match.static booleanmatches(Collection selectors, IBuildArtifact artifact) Match.static booleanmatches(Collection selectors, String groupId, String artifactId, String repoTag) Match.
-
Method Details
-
matches
Match.- Parameters:
selector- selectorartifact- build artifact- Returns:
trueif matches,falseotherwise
-
matches
Match.Empty collection matches everything.
- Parameters:
selectors-CollectionofIBuildArtifactSelectorsartifact- build artifact- Returns:
trueif matches,falseotherwise
-
matches
public static boolean matches(IBuildArtifactSelector selector, String groupId, String artifactId, String repoTag) Match.- Parameters:
selector- selectorgroupId- group idartifactId- artifatc idrepoTag- repository tag- Returns:
trueif matches,falseotherwise
-
matches
public static boolean matches(Collection selectors, String groupId, String artifactId, String repoTag) Match.Empty collection matches everything.
- Parameters:
selectors-CollectionofIBuildArtifactSelectorsgroupId- group idartifactId- artifatc idrepoTag- repository tag- Returns:
trueif matches,falseotherwise
-