|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ArtifactLinkManager
A manager for ArtifactLink
.
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. since 3.0 |
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. |
Method Detail |
---|
@Deprecated @NotNull ArtifactLink addArtifactLink(@NotNull BuildResultsSummary buildResultsSummary, @NotNull java.lang.String artifactLabel)
buildResultsSummary
- BuildResultsSummary object where ArtifactLink has to be addedartifactLabel
- Label to be used to create ArtifactLink object
@NotNull ArtifactLink addArtifactLink(@NotNull BuildResultsSummary producerResult, @NotNull ArtifactDefinitionBase artifactDefinitionBase)
producerResult
- ResultsSummary object representing build that produced the artifactartifactDefinitionBase
- artifact definition object
@NotNull ArtifactLink addArtifactLink(@NotNull BuildResultsSummary producerResult, @NotNull ArtifactDefinitionContext artifactDefinitionContext)
producerResult
- ResultsSummary object representing build that produced the artifactartifactDefinitionContext
- artifact definition context
@NotNull ArtifactLink addPlanLevelArtifactLink(@NotNull ChainResultsSummary planResultSummary, @NotNull ArtifactDefinitionContext artifactDefinitionContext)
planResultSummary
- result of a plan producing the artifactartifactDefinitionContext
- artifact definition context
void removeArtifactLink(@NotNull ArtifactLink artifactLink)
artifactLink
- void removeArtifactLink(long artifactLinkId)
artifactLinkId
- void removeArtifactLinks(@NotNull BuildResultsSummary buildResultsSummary)
resultsSummary
- void removeArtifactLinks(@NotNull ChainResultsSummary chainResultsSummary, @Nullable Plan plan)
resultsSummary
- plan
- optional, to avoid costly plan lookup@NotNull java.util.Collection<ArtifactLink> getArtifactLinksForLinkType(@NotNull ResultsSummary resultsSummary, @NotNull java.lang.String linkType)
ArtifactLink
s for the given ResultsSummary
and ArtifactLink.getLinkType()
resultsSummary
- linkType
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |