com.atlassian.bamboo.build.artifact
Class AbstractArtifactHandler
java.lang.Object
com.atlassian.bamboo.build.artifact.AbstractArtifactHandler
- All Implemented Interfaces:
- ArtifactHandler, InitablePluginModule<ArtifactHandlerModuleDescriptor>, BambooPluginModule
- Direct Known Subclasses:
- AbtractLocalArtifactHandler, BambooRemoteArtifactHandler
public abstract class AbstractArtifactHandler
- extends java.lang.Object
- implements ArtifactHandler, InitablePluginModule<ArtifactHandlerModuleDescriptor>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ALL_AGENT_TYPES
protected static final java.util.Set<AgentType> ALL_AGENT_TYPES
LOCAL_AGENTS
protected static final java.util.Set<AgentType> LOCAL_AGENTS
NON_LOCAL_AGENTS
public static final java.util.Set<AgentType> NON_LOCAL_AGENTS
AbstractArtifactHandler
public AbstractArtifactHandler(java.util.Set<AgentType> supportedAgents)
init
public void init(@NotNull
ArtifactHandlerModuleDescriptor moduleDescriptor)
- Description copied from interface:
InitablePluginModule
- Initialises the Plugin with the plugin module descriptor
- Specified by:
init
in interface InitablePluginModule<ArtifactHandlerModuleDescriptor>
- Parameters:
moduleDescriptor
- Plugin module descriptor
canServeArtifact
public boolean canServeArtifact(ArtifactDefinitionContext artifact,
java.util.Map<java.lang.String,java.lang.String> artifactHandlersConfiguration)
- Specified by:
canServeArtifact
in interface ArtifactHandler
getDefaultConfiguration
public java.util.Map<java.lang.String,java.lang.String> getDefaultConfiguration()
- Specified by:
getDefaultConfiguration
in interface ArtifactHandler
getEditHtml
@Nullable
public java.lang.String getEditHtml()
- Specified by:
getEditHtml
in interface ArtifactHandler
getConfigValue
@Nullable
protected java.lang.String getConfigValue(java.util.Map<java.lang.String,java.lang.String> artifactHandlersConfiguration,
java.lang.String key)
getSupportedAgents
@NotNull
public java.util.Set<AgentType> getSupportedAgents()
- Specified by:
getSupportedAgents
in interface ArtifactHandler
getModuleDescriptor
@NotNull
public ArtifactHandlerModuleDescriptor getModuleDescriptor()
- Specified by:
getModuleDescriptor
in interface ArtifactHandler
setTemplateRenderer
public void setTemplateRenderer(TemplateRenderer templateRenderer)
Copyright © 2012 Atlassian. All Rights Reserved.