com.atlassian.bamboo.v2.build.agent.remote
Class RemoteArtifactManager

java.lang.Object
  extended by com.atlassian.bamboo.build.artifact.AbstractArtifactManager
      extended by com.atlassian.bamboo.v2.build.agent.remote.RemoteArtifactManager
All Implemented Interfaces:
ArtifactManager

public class RemoteArtifactManager
extends AbstractArtifactManager


Constructor Summary
RemoteArtifactManager(BambooAgentMessageSender sender, RemoteBuildDirectoryManager buildDirectoryManager)
           
 
Method Summary
protected  boolean publishFileSet(PlanResultKey planResultKey, ArtifactDefinitionContext artifact, org.apache.tools.ant.types.FileSet sourceFileSet, boolean deleteSource)
           
 boolean retrieve(PlanResultKey planResultKey, ArtifactSubscriptionContext artifactSubscription)
          Retrieves an artifact from artifact storage.
 
Methods inherited from class com.atlassian.bamboo.build.artifact.AbstractArtifactManager
createFileSet, publish
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteArtifactManager

public RemoteArtifactManager(BambooAgentMessageSender sender,
                             RemoteBuildDirectoryManager buildDirectoryManager)
Method Detail

publishFileSet

protected boolean publishFileSet(PlanResultKey planResultKey,
                                 ArtifactDefinitionContext artifact,
                                 org.apache.tools.ant.types.FileSet sourceFileSet,
                                 boolean deleteSource)
Specified by:
publishFileSet in class AbstractArtifactManager

retrieve

public boolean retrieve(@NotNull
                        PlanResultKey planResultKey,
                        @NotNull
                        ArtifactSubscriptionContext artifactSubscription)
Description copied from interface: ArtifactManager
Retrieves an artifact from artifact storage.

Parameters:
planResultKey - the plan result that contains the artifact
artifactSubscription - the artifact subscription used to identify artifact
Returns:
true if retrieval was successful, false otherwise


Copyright © 2011 Atlassian. All Rights Reserved.