Class ArtifactContextImpl
java.lang.Object
com.atlassian.bamboo.plan.artifact.ArtifactContextImpl
- All Implemented Interfaces:
ArtifactContext
,CommonArtifactContext
,Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionArtifactContextImpl
(SecureToken secureToken, @NotNull Collection<ArtifactDefinitionContext> definitionContexts, @NotNull Collection<ArtifactSubscriptionContext> subscriptionContexts, Optional<Long> artifactSizeQuota, @NotNull Map<String, String> artifactHandlerConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPublishingResult
(ArtifactPublishingResult publishingResult) @NotNull io.atlassian.fugue.Option<Long>
Maximum allowed size of artifacts per build result in bytes.@NotNull Collection<ArtifactDefinitionContext>
@NotNull Collection<ArtifactPublishingResult>
@NotNull SecureToken
@NotNull ArtifactMultimap
@NotNull Collection<ArtifactSubscriptionContext>
void
setSharedArtifactsFromPreviousStages
(@NotNull Multimap<String, Artifact> artifactsFromPreviousStages)
-
Constructor Details
-
ArtifactContextImpl
public ArtifactContextImpl(SecureToken secureToken, @NotNull @NotNull Collection<ArtifactDefinitionContext> definitionContexts, @NotNull @NotNull Collection<ArtifactSubscriptionContext> subscriptionContexts, Optional<Long> artifactSizeQuota, @NotNull @NotNull Map<String, String> artifactHandlerConfiguration)
-
-
Method Details
-
getDefinitionContexts
- Specified by:
getDefinitionContexts
in interfaceArtifactContext
-
getPublishingResults
- Specified by:
getPublishingResults
in interfaceCommonArtifactContext
-
getSubscriptionContexts
- Specified by:
getSubscriptionContexts
in interfaceArtifactContext
-
getArtifactHandlerConfiguration
- Specified by:
getArtifactHandlerConfiguration
in interfaceArtifactContext
-
getArtifactSizeQuota
Description copied from interface:ArtifactContext
Maximum allowed size of artifacts per build result in bytes.- Specified by:
getArtifactSizeQuota
in interfaceArtifactContext
- Returns:
- maximum artifacts size in bytes or Optional.empty()) if not set
-
addPublishingResult
- Specified by:
addPublishingResult
in interfaceCommonArtifactContext
-
getSecureToken
- Specified by:
getSecureToken
in interfaceCommonArtifactContext
-