com.atlassian.bamboo.build.artifact
Class BambooRemoteArtifactHandler

java.lang.Object
  extended by com.atlassian.bamboo.build.artifact.AbstractArtifactHandler
      extended by com.atlassian.bamboo.build.artifact.BambooRemoteArtifactHandler
All Implemented Interfaces:
ArtifactHandler, InitablePluginModule<ArtifactHandlerModuleDescriptor>, BambooPluginModule

public class BambooRemoteArtifactHandler
extends AbstractArtifactHandler


Field Summary
 
Fields inherited from class com.atlassian.bamboo.build.artifact.AbstractArtifactHandler
ALL_AGENT_TYPES, LOCAL_AGENTS, NON_LOCAL_AGENTS
 
Fields inherited from interface com.atlassian.bamboo.build.artifact.ArtifactHandler
LAN_SPEED, LOCAL_SPEED, WAN_SPEED
 
Constructor Summary
BambooRemoteArtifactHandler()
           
 
Method Summary
 int getSpeed(java.util.Map<java.lang.String,java.lang.String> artifactHandlersConfiguration)
           
 boolean publish(PlanResultKey planResultKey, ArtifactDefinitionContext artifact, ArtifactPublishingConfig artifactPublishingConfig)
           
 ArtifactRetrievalStatus retrieve(PlanResultKey planResultKey, ArtifactSubscriptionContext artifactSubscription, ArtifactRetrievalConfig artifactRetrievalConfig)
           
 void setSender(HttpMessageSender sender)
           
 
Methods inherited from class com.atlassian.bamboo.build.artifact.AbstractArtifactHandler
canServeArtifact, getConfigValue, getDefaultConfiguration, getModuleDescriptor, getSupportedAgents, init, populateContextForEdit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BambooRemoteArtifactHandler

public BambooRemoteArtifactHandler()
Method Detail

publish

public boolean publish(@NotNull
                       PlanResultKey planResultKey,
                       @NotNull
                       ArtifactDefinitionContext artifact,
                       @NotNull
                       ArtifactPublishingConfig artifactPublishingConfig)
                throws java.io.IOException
Throws:
java.io.IOException

retrieve

@NotNull
public ArtifactRetrievalStatus retrieve(@NotNull
                                                PlanResultKey planResultKey,
                                                @NotNull
                                                ArtifactSubscriptionContext artifactSubscription,
                                                @NotNull
                                                ArtifactRetrievalConfig artifactRetrievalConfig)
                                 throws java.io.IOException
Throws:
java.io.IOException

setSender

public void setSender(HttpMessageSender sender)

getSpeed

public int getSpeed(@NotNull
                    java.util.Map<java.lang.String,java.lang.String> artifactHandlersConfiguration)


Copyright © 2012 Atlassian. All Rights Reserved.