com.atlassian.bamboo.build.artifact
Class DefaultArtifactLinkManager

java.lang.Object
  extended by com.atlassian.bamboo.build.artifact.DefaultArtifactLinkManager
All Implemented Interfaces:
ArtifactLinkManager

public class DefaultArtifactLinkManager
extends java.lang.Object
implements ArtifactLinkManager


Constructor Summary
DefaultArtifactLinkManager(ArtifactLinkDao artifactLinkDao)
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultArtifactLinkManager

public DefaultArtifactLinkManager(ArtifactLinkDao artifactLinkDao)
Method Detail

addArtifactLink

@NotNull
public ArtifactLink addArtifactLink(@NotNull
                                            BuildResultsSummary buildResultsSummary,
                                            @NotNull
                                            java.lang.String artifactLabel)
Description copied from interface: ArtifactLinkManager
Create ArtifactLink object and add it to the BuildResultsSummary.

Specified by:
addArtifactLink in interface ArtifactLinkManager
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

public void removeArtifactLinks(@NotNull
                                BuildResultsSummary buildResultsSummary)
Description copied from interface: ArtifactLinkManager
Remove all artifact links from the BuildResultsSummary.

Specified by:
removeArtifactLinks in interface ArtifactLinkManager
Parameters:
buildResultsSummary - BuildResultsSummary which ArtifactLinks have to be removed


Copyright © 2010 Atlassian. All Rights Reserved.