Package com.polarion.alm.builder.spi
Class BuildArtifactSelector
java.lang.Object
com.polarion.alm.builder.spi.BuildArtifactSelector
- All Implemented Interfaces:
IBuildArtifactSelector
,Serializable
public final class BuildArtifactSelector
extends Object
implements IBuildArtifactSelector, Serializable
IBuildArtifactSelector
implementation.- Version:
- $Revision$ $Date$
- Author:
- Stepan Roh, Polarion Software
- See Also:
-
Field Summary
Fields inherited from interface com.polarion.alm.builder.model.IBuildArtifactSelector
MATCH_ALL
-
Constructor Summary
ConstructorDescriptionBuildArtifactSelector
(String groupId, String artifactId, String repositoryTag) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
static BuildArtifactSelector
fromString
(String selectorStr) Parses selector from a string in one of formats GROUP_ID, GROUP_ID:ARTIFACT_ID, GROUP_ID:ARTIFACT_ID:REPOSITORY_TAG.Artifact id (if any).Group id (if any).Repository tag (if any).int
hashCode()
toString()
-
Constructor Details
-
BuildArtifactSelector
Constructor.- Parameters:
groupId
- group id pattern (can benull
)artifactId
- artifact id pattern (can benull
)repositoryTag
- repository tag pattern (can benull
)
-
-
Method Details
-
getArtifactId
Description copied from interface:IBuildArtifactSelector
Artifact id (if any).- Specified by:
getArtifactId
in interfaceIBuildArtifactSelector
- Returns:
- artifact id or
null
(acting asIBuildArtifactSelector.MATCH_ALL
)
-
getGroupId
Description copied from interface:IBuildArtifactSelector
Group id (if any).- Specified by:
getGroupId
in interfaceIBuildArtifactSelector
- Returns:
- group id or
null
(acting asIBuildArtifactSelector.MATCH_ALL
)
-
getRepositoryTag
Description copied from interface:IBuildArtifactSelector
Repository tag (if any).- Specified by:
getRepositoryTag
in interfaceIBuildArtifactSelector
- Returns:
- repository tag or
null
(if tag really isnull
)
-
equals
-
hashCode
public int hashCode() -
fromString
Parses selector from a string in one of formats GROUP_ID, GROUP_ID:ARTIFACT_ID, GROUP_ID:ARTIFACT_ID:REPOSITORY_TAG. Omitted parts match all possible values; my.group:my_company is equivalent to my.group:my_company:* etc.- Parameters:
selectorStr
-- Since:
- 3.4.0
-
toString
-