com.atlassian.bamboo.build.artifact
Class AbtractLocalArtifactHandler
java.lang.Object
com.atlassian.bamboo.build.artifact.AbstractArtifactHandler
com.atlassian.bamboo.build.artifact.AbtractLocalArtifactHandler
- All Implemented Interfaces:
- ArtifactHandler, InitablePluginModule<ArtifactHandlerModuleDescriptor>, BambooPluginModule
- Direct Known Subclasses:
- AgentLocalArtifactHandler, ServerLocalArtifactHandler
public abstract class AbtractLocalArtifactHandler
- extends AbstractArtifactHandler
Method Summary |
protected abstract ArtifactStorage |
getArtifactStorage(java.util.Map<java.lang.String,java.lang.String> artifactHandlersConfiguration)
|
protected java.io.File |
getArtifactStorageDirectory(PlanResultKey planResultKey,
ArtifactDefinitionContext artifact,
java.util.Map<java.lang.String,java.lang.String> artifactHandlersConfiguration)
|
int |
getSpeed(java.util.Map<java.lang.String,java.lang.String> artifactHandlersConfiguration)
|
boolean |
publish(org.apache.tools.ant.types.FileSet sourceFileSet,
PlanResultKey planResultKey,
ArtifactDefinitionContext artifact,
java.util.Map<java.lang.String,java.lang.String> artifactHandlersConfiguration)
|
ArtifactRetrievalStatus |
retrieve(PlanResultKey planResultKey,
ArtifactSubscriptionContext artifactSubscription,
java.util.Map<java.lang.String,java.lang.String> artifactHandlersConfiguration,
java.io.File buildWorkingDirectory)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbtractLocalArtifactHandler
public AbtractLocalArtifactHandler(java.util.Set<AgentType> supportedAgents)
publish
public boolean publish(@NotNull
org.apache.tools.ant.types.FileSet sourceFileSet,
@NotNull
PlanResultKey planResultKey,
@NotNull
ArtifactDefinitionContext artifact,
@NotNull
java.util.Map<java.lang.String,java.lang.String> artifactHandlersConfiguration)
throws java.io.IOException
- Throws:
java.io.IOException
retrieve
@NotNull
public ArtifactRetrievalStatus retrieve(@NotNull
PlanResultKey planResultKey,
@NotNull
ArtifactSubscriptionContext artifactSubscription,
@NotNull
java.util.Map<java.lang.String,java.lang.String> artifactHandlersConfiguration,
@NotNull
java.io.File buildWorkingDirectory)
throws java.io.IOException
- Throws:
java.io.IOException
getArtifactStorageDirectory
protected java.io.File getArtifactStorageDirectory(PlanResultKey planResultKey,
ArtifactDefinitionContext artifact,
java.util.Map<java.lang.String,java.lang.String> artifactHandlersConfiguration)
getArtifactStorage
protected abstract ArtifactStorage getArtifactStorage(java.util.Map<java.lang.String,java.lang.String> artifactHandlersConfiguration)
getSpeed
public int getSpeed(@NotNull
java.util.Map<java.lang.String,java.lang.String> artifactHandlersConfiguration)
Copyright © 2012 Atlassian. All Rights Reserved.