com.atlassian.bamboo.v2.build.agent.remote
Class RemoteArtifactManager
java.lang.Object
com.atlassian.bamboo.build.artifact.AbstractArtifactManager
com.atlassian.bamboo.v2.build.agent.remote.RemoteArtifactManager
- All Implemented Interfaces:
- ArtifactManager
public class RemoteArtifactManager
- extends AbstractArtifactManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteArtifactManager
public RemoteArtifactManager(BambooAgentMessageSender sender,
RemoteBuildDirectoryManager buildDirectoryManager,
CustomVariableContext customVariableContext)
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 artifactartifactSubscription
- the artifact subscription used to identify artifact
- Returns:
- true if retrieval was successful, false otherwise
retrieve
public boolean retrieve(@NotNull
PlanResultKey planResultKey,
@NotNull
ArtifactSubscriptionContext artifactSubscription,
@NotNull
java.io.File baseDestinationPath)
- Description copied from interface:
ArtifactManager
- Retrieves an artifact from artifact storage.
- Parameters:
planResultKey
- the plan result that contains the artifactartifactSubscription
- the artifact subscription used to identify artifactbaseDestinationPath
- working directory of current build
- Returns:
- true if retrieval was successful, false otherwise
Copyright © 2012 Atlassian. All Rights Reserved.