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