com.atlassian.bamboo.build.artifact
Interface ArtifactLinkManager

All Known Implementing Classes:
DefaultArtifactLinkManager

public interface ArtifactLinkManager

A manager for ArtifactLink.


Method Summary
 ArtifactLink addArtifactLink(BuildResultsSummary buildResultsSummary, java.lang.String artifactLabel)
          Create ArtifactLink object and add it to the BuildResultsSummary.
 void removeArtifactLinks(BuildResultsSummary buildResultsSummary)
          Remove all artifact links from the BuildResultsSummary.
 

Method Detail

addArtifactLink

@NotNull
ArtifactLink addArtifactLink(@NotNull
                                     BuildResultsSummary buildResultsSummary,
                                     @NotNull
                                     java.lang.String artifactLabel)
Create ArtifactLink object and add it to the BuildResultsSummary.

Parameters:
buildResultsSummary - BuildResultsSummary object where ArtifactLink has to be added
artifactLabel - Label to be used to create ArtifactLink object
Returns:
ArtifactLink object which has been added to BuildResultsSummary

removeArtifactLinks

void removeArtifactLinks(@NotNull
                         BuildResultsSummary buildResultsSummary)
Remove all artifact links from the BuildResultsSummary.

Parameters:
buildResultsSummary - BuildResultsSummary which ArtifactLinks have to be removed


Copyright © 2010 Atlassian. All Rights Reserved.