Class AbstractRepublishingArtifactHandler
java.lang.Object
com.atlassian.bamboo.build.artifact.AbstractArtifactHandler
com.atlassian.bamboo.build.artifact.AbstractRepublishingArtifactHandler
- All Implemented Interfaces:
ArtifactHandler,InitablePluginModule<ArtifactHandlerModuleDescriptor>,BambooPluginModule
- Direct Known Subclasses:
BambooRemoteArtifactHandler,S3ArtifactHandler
-
Field Summary
FieldsFields inherited from class com.atlassian.bamboo.build.artifact.AbstractArtifactHandler
ALL_AGENT_TYPES, LOCAL_AGENTS, NON_LOCAL_AGENTSFields inherited from interface com.atlassian.bamboo.build.artifact.ArtifactHandler
LAN_SPEED, LOCAL_SPEED, NEVER_ARCHIVE, WAN_SPEED -
Constructor Summary
ConstructorsConstructorDescriptionAbstractRepublishingArtifactHandler(Set<AgentType> supportedAgents, RemoteTransferFallbackArtifactHandler fallbackArtifactHandler) AbstractRepublishingArtifactHandler(Set<AgentType> supportedAgents, String fallbackHandlerPath) -
Method Summary
Modifier and TypeMethodDescriptionprotected @NotNull ArtifactHandlerPublishingResultcheckIfNothingWasPublished(@Nullable BuildLogger buildLogger, ArtifactHandlerPublishingResult result, org.apache.log4j.Logger log) protected @NotNull ArtifactHandlerPublishingResultcopyToFallbackStorageIfDeferred(@NotNull ResultKey resultKey, @NotNull ArtifactDefinitionContext artifact, @NotNull ArtifactPublishingConfig artifactPublishingConfig, @Nullable BuildLogger buildLogger, @NotNull ArtifactHandlerPublishingResult result, @NotNull org.apache.log4j.Logger log) protected org.apache.tools.ant.types.FileSetgetFileSetFromFallbackStorage(@NotNull ArtifactHandlerPublishingResult previousPublishingResult, @NotNull ResultKey resultKey, @NotNull ArtifactDefinitionContext artifact, @NotNull ArtifactHandlerConfigProvider artifactHandlerConfigProvider, @NotNull org.apache.log4j.Logger log) protected BuildLoggermakeNotNull(@Nullable BuildLogger buildLogger) Methods inherited from class com.atlassian.bamboo.build.artifact.AbstractArtifactHandler
canHandleArtifact, configProvider, configProvider, getConfigurationKey, getConfigValue, getDefaultConfiguration, getMaxUnarchivedFilesPerArtifact, getModuleDescriptor, getSupportedAgents, initMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.build.artifact.ArtifactHandler
getArtifactLinkDataProvider, getArtifactLinkDataProvider, getSpeed, moveArtifactToGlobalStorage, publish, removeAllArtifactsOfChain, removeArtifactFromStorage, removeArtifactFromStorage, removeArtifactFromStorage, removeArtifactsFromStorage, removeArtifactsFromStorage, retrieve
-
Field Details
-
fallbackArtifactHandler
-
-
Constructor Details
-
AbstractRepublishingArtifactHandler
-
AbstractRepublishingArtifactHandler
public AbstractRepublishingArtifactHandler(Set<AgentType> supportedAgents, RemoteTransferFallbackArtifactHandler fallbackArtifactHandler)
-
-
Method Details
-
getFileSetFromFallbackStorage
protected org.apache.tools.ant.types.FileSet getFileSetFromFallbackStorage(@NotNull @NotNull ArtifactHandlerPublishingResult previousPublishingResult, @NotNull @NotNull ResultKey resultKey, @NotNull @NotNull ArtifactDefinitionContext artifact, @NotNull @NotNull ArtifactHandlerConfigProvider artifactHandlerConfigProvider, @NotNull @NotNull org.apache.log4j.Logger log) throws IOException - Throws:
IOException
-
checkIfNothingWasPublished
@NotNull protected @NotNull ArtifactHandlerPublishingResult checkIfNothingWasPublished(@Nullable @Nullable BuildLogger buildLogger, ArtifactHandlerPublishingResult result, org.apache.log4j.Logger log) -
copyToFallbackStorageIfDeferred
@NotNull protected @NotNull ArtifactHandlerPublishingResult copyToFallbackStorageIfDeferred(@NotNull @NotNull ResultKey resultKey, @NotNull @NotNull ArtifactDefinitionContext artifact, @NotNull @NotNull ArtifactPublishingConfig artifactPublishingConfig, @Nullable @Nullable BuildLogger buildLogger, @NotNull @NotNull ArtifactHandlerPublishingResult result, @NotNull @NotNull org.apache.log4j.Logger log) -
makeNotNull
-