public class ArtifactContextImpl extends Object implements ArtifactContext
Constructor and Description |
---|
ArtifactContextImpl(SecureToken secureToken,
@NotNull Collection<ArtifactDefinitionContext> definitionContexts,
@NotNull Collection<ArtifactSubscriptionContext> subscriptionContexts,
Optional<Long> artifactSizeQuota,
@NotNull Map<String,String> artifactHandlerConfiguration) |
Modifier and Type | Method and Description |
---|---|
void |
addPublishingResult(ArtifactPublishingResult publishingResult) |
@NotNull Map<String,String> |
getArtifactHandlerConfiguration() |
@NotNull io.atlassian.fugue.Option<Long> |
getArtifactSizeQuota()
Maximum allowed size of artifacts per build result in bytes.
|
@NotNull Collection<ArtifactDefinitionContext> |
getDefinitionContexts() |
@NotNull Collection<ArtifactPublishingResult> |
getPublishingResults() |
@NotNull SecureToken |
getSecureToken() |
@NotNull com.google.common.collect.Multimap<String,Artifact> |
getSharedArtifactsFromPreviousStages() |
@NotNull Collection<ArtifactSubscriptionContext> |
getSubscriptionContexts() |
void |
setSharedArtifactsFromPreviousStages(@NotNull com.google.common.collect.Multimap<String,Artifact> artifactsFromPreviousStages) |
public ArtifactContextImpl(SecureToken secureToken, @NotNull @NotNull Collection<ArtifactDefinitionContext> definitionContexts, @NotNull @NotNull Collection<ArtifactSubscriptionContext> subscriptionContexts, Optional<Long> artifactSizeQuota, @NotNull @NotNull Map<String,String> artifactHandlerConfiguration)
@NotNull public @NotNull Collection<ArtifactDefinitionContext> getDefinitionContexts()
getDefinitionContexts
in interface ArtifactContext
@NotNull public @NotNull Collection<ArtifactPublishingResult> getPublishingResults()
getPublishingResults
in interface CommonArtifactContext
@NotNull public @NotNull Collection<ArtifactSubscriptionContext> getSubscriptionContexts()
getSubscriptionContexts
in interface ArtifactContext
@NotNull public @NotNull Map<String,String> getArtifactHandlerConfiguration()
getArtifactHandlerConfiguration
in interface ArtifactContext
@NotNull public @NotNull io.atlassian.fugue.Option<Long> getArtifactSizeQuota()
ArtifactContext
getArtifactSizeQuota
in interface ArtifactContext
public void addPublishingResult(ArtifactPublishingResult publishingResult)
addPublishingResult
in interface CommonArtifactContext
@NotNull public @NotNull com.google.common.collect.Multimap<String,Artifact> getSharedArtifactsFromPreviousStages()
getSharedArtifactsFromPreviousStages
in interface ArtifactContext
public void setSharedArtifactsFromPreviousStages(@NotNull @NotNull com.google.common.collect.Multimap<String,Artifact> artifactsFromPreviousStages)
setSharedArtifactsFromPreviousStages
in interface ArtifactContext
@NotNull public @NotNull SecureToken getSecureToken()
getSecureToken
in interface CommonArtifactContext
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.