|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.build.artifact.DefaultArtifactLinkManager
public class DefaultArtifactLinkManager
Constructor Summary | |
---|---|
DefaultArtifactLinkManager(ArtifactLinkDao artifactLinkDao)
|
Method Summary | |
---|---|
ArtifactLink |
addArtifactLink(BuildResultsSummary producerResult,
ArtifactDefinitionBase artifactDefinitionBase)
Create ArtifactLink object and add it to the BuildResultsSummary. |
ArtifactLink |
addArtifactLink(BuildResultsSummary producerResult,
ArtifactDefinitionContext artifactDefinitionContext)
Create ArtifactLink object and add it to the BuildResultsSummary. |
ArtifactLink |
addArtifactLink(BuildResultsSummary buildResultsSummary,
java.lang.String artifactLabel)
Deprecated. |
ArtifactLink |
addPlanLevelArtifactLink(ChainResultsSummary planResultSummary,
ArtifactDefinitionContext artifactDefinitionContext)
Create ArtifactLink object and add it to the ChainResultsSummary. |
java.util.Collection<ArtifactLink> |
getArtifactLinksForLinkType(ResultsSummary resultsSummary,
java.lang.String linkType)
Gets all the ArtifactLink s for the given ResultsSummary and ArtifactLink.getLinkType() |
void |
removeArtifactLink(ArtifactLink artifactLink)
Remove an artifact link. |
void |
removeArtifactLink(long artifactLinkId)
Remove an artifact link. |
void |
removeArtifactLinks(BuildResultsSummary buildResultsSummary)
Remove all artifact links from the BuildResultsSummary. |
void |
removeArtifactLinks(ChainResultsSummary chainResultsSummary,
Plan plan)
Remove all artifact links from the ChainResultsSummary. |
void |
removeProducedArtifactLinks(BuildResultsSummary buildResultsSummary)
Remove all artifacts produced by a job in a build. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultArtifactLinkManager(ArtifactLinkDao artifactLinkDao)
Method Detail |
---|
@Deprecated @NotNull public ArtifactLink addArtifactLink(@NotNull BuildResultsSummary buildResultsSummary, @NotNull java.lang.String artifactLabel)
ArtifactLinkManager
addArtifactLink
in interface ArtifactLinkManager
buildResultsSummary
- BuildResultsSummary object where ArtifactLink has to be addedartifactLabel
- Label to be used to create ArtifactLink object
@NotNull public ArtifactLink addArtifactLink(@NotNull BuildResultsSummary producerResult, @NotNull ArtifactDefinitionBase artifactDefinitionBase)
ArtifactLinkManager
addArtifactLink
in interface ArtifactLinkManager
producerResult
- ResultsSummary object representing build that produced the artifactartifactDefinitionBase
- artifact definition object
@NotNull public ArtifactLink addArtifactLink(@NotNull BuildResultsSummary producerResult, @NotNull ArtifactDefinitionContext artifactDefinitionContext)
ArtifactLinkManager
addArtifactLink
in interface ArtifactLinkManager
producerResult
- ResultsSummary object representing build that produced the artifactartifactDefinitionContext
- artifact definition context
@NotNull public ArtifactLink addPlanLevelArtifactLink(@NotNull ChainResultsSummary planResultSummary, @NotNull ArtifactDefinitionContext artifactDefinitionContext)
ArtifactLinkManager
addPlanLevelArtifactLink
in interface ArtifactLinkManager
planResultSummary
- result of a plan producing the artifactartifactDefinitionContext
- artifact definition context
public void removeArtifactLink(long artifactLinkId)
ArtifactLinkManager
removeArtifactLink
in interface ArtifactLinkManager
public void removeArtifactLink(@NotNull ArtifactLink artifactLink)
ArtifactLinkManager
removeArtifactLink
in interface ArtifactLinkManager
public void removeProducedArtifactLinks(@NotNull BuildResultsSummary buildResultsSummary)
ArtifactLinkManager
removeProducedArtifactLinks
in interface ArtifactLinkManager
public void removeArtifactLinks(@NotNull BuildResultsSummary buildResultsSummary)
ArtifactLinkManager
removeArtifactLinks
in interface ArtifactLinkManager
public void removeArtifactLinks(@NotNull ChainResultsSummary chainResultsSummary, @Nullable Plan plan)
ArtifactLinkManager
removeArtifactLinks
in interface ArtifactLinkManager
plan
- optional, to avoid costly plan lookup@NotNull public java.util.Collection<ArtifactLink> getArtifactLinksForLinkType(@NotNull ResultsSummary resultsSummary, @NotNull java.lang.String linkType)
ArtifactLinkManager
ArtifactLink
s for the given ResultsSummary
and ArtifactLink.getLinkType()
getArtifactLinksForLinkType
in interface ArtifactLinkManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |