Package com.polarion.alm.builder.spi
Interface IPreparedBuildArtifact
- All Superinterfaces:
IBuildArtifactRecognizer.IRecognizedBuildArtifact
Allows
IBuildArtifactEngineer.amendBuildArtifact(IEngineeringContext)
to populate build artifact with some values.- Version:
- $Revision$ $Date$
- Author:
- Stepan Roh, Polarion Software
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add aggregation resource definition.void
addBuildDependency
(IBuildArtifactSelector selector) Add build dependency.void
addContainedArtifact
(IBuildArtifactSelector selector) Add contained artifact.void
addResource
(ILocalDeploymentDefinition resource) Add resource definition.void
setArtifactId
(String artifactId) Set artifact id.void
setDescription
(String description) Set description.void
setGroupId
(String groupId) Set group id.void
Set label.void
setTypeSpecificValue
(String key, String value) Set type specific data.Methods inherited from interface com.polarion.alm.builder.spi.IBuildArtifactRecognizer.IRecognizedBuildArtifact
getAggregationResources, getBaseLocation, getConfiguration, getRepositoryTag, getResources, getType
-
Method Details
-
setGroupId
Set group id.- Parameters:
groupId
- group id- Throws:
IllegalArgumentException
- if groupId isnull
- See Also:
-
setArtifactId
Set artifact id.- Parameters:
artifactId
- group id- Throws:
IllegalArgumentException
- if artifactId isnull
- See Also:
-
setLabel
Set label.- Parameters:
label
- label- Throws:
IllegalArgumentException
- if label isnull
- See Also:
-
setDescription
Set description.- Parameters:
description
- description (may benull
)- See Also:
-
addContainedArtifact
Add contained artifact.All selector's fields are treated literally (no pattern matching).
Selector's
IBuildArtifactSelector.getRepositoryTag()
is ignored and this artifact's repository tag is used.Artifacts are assumed to be in the same
IGroupEntity
as this artifact is (no actual checking is done).- Parameters:
selector
- artifact selector- Throws:
IllegalArgumentException
- if selector isnull
- See Also:
-
addBuildDependency
Add build dependency.All selector's fields are treated literally (no pattern matching).
- Parameters:
selector
- artifact selector- Throws:
IllegalArgumentException
- if selector isnull
- See Also:
-
addResource
Add resource definition.Note that if resources were already specified by user, then this call is ignored.
- Parameters:
resource
- resource definition- Throws:
IllegalArgumentException
- if resource isnull
- See Also:
-
addAggregationResource
Add aggregation resource definition.Note that if aggregation resources were already specified by user, then this call is ignored.
- Parameters:
resource
- resource definition- Throws:
IllegalArgumentException
- if resource isnull
- See Also:
-
setTypeSpecificValue
Set type specific data.- Parameters:
key
- data kayvalue
- data value (can benull
)- Throws:
IllegalArgumentException
- if key isnull
-