Class DefaultDockerHandlerProvider
- java.lang.Object
-
- com.atlassian.bamboo.build.docker.DefaultDockerHandlerProvider
-
- All Implemented Interfaces:
DockerHandlerProvider
,InitablePluginModule<DockerHandlerModuleDescriptor>
,BambooPluginModule
public class DefaultDockerHandlerProvider extends Object implements DockerHandlerProvider
-
-
Constructor Summary
Constructors Constructor Description DefaultDockerHandlerProvider(EnvironmentCustomConfigService environmentCustomConfigService, DockerPipelineValidationService dockerPipelineValidationService, TemplateRenderer templateRenderer, TaskManager taskManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DockerHandler
getHandler(@Nullable BuildDefinition job, boolean create)
DockerHandler
getHandler(@Nullable Environment environment, boolean create)
DockerHandler
getHandler(Map<String,Object> webFragmentsContextMap, boolean create)
String
getIsolationType()
String
getIsolationTypeLabel(com.opensymphony.xwork2.TextProvider textProvider)
void
init(DockerHandlerModuleDescriptor moduleDescriptor)
Initialises the Plugin with the plugin module descriptor-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.build.docker.DockerHandlerProvider
getEnvironmentConfigurationKey, isCustomDedicatedAgentExpected, isCustomDedicatedAgentExpected
-
-
-
-
Constructor Detail
-
DefaultDockerHandlerProvider
public DefaultDockerHandlerProvider(EnvironmentCustomConfigService environmentCustomConfigService, DockerPipelineValidationService dockerPipelineValidationService, TemplateRenderer templateRenderer, TaskManager taskManager)
-
-
Method Detail
-
init
public void init(DockerHandlerModuleDescriptor moduleDescriptor)
Description copied from interface:InitablePluginModule
Initialises the Plugin with the plugin module descriptor- Specified by:
init
in interfaceInitablePluginModule<DockerHandlerModuleDescriptor>
- Parameters:
moduleDescriptor
- Plugin module descriptor
-
getIsolationType
public String getIsolationType()
- Specified by:
getIsolationType
in interfaceDockerHandlerProvider
-
getHandler
public DockerHandler getHandler(@Nullable @Nullable BuildDefinition job, boolean create)
- Specified by:
getHandler
in interfaceDockerHandlerProvider
-
getHandler
public DockerHandler getHandler(@Nullable @Nullable Environment environment, boolean create)
- Specified by:
getHandler
in interfaceDockerHandlerProvider
-
getHandler
public DockerHandler getHandler(Map<String,Object> webFragmentsContextMap, boolean create)
- Specified by:
getHandler
in interfaceDockerHandlerProvider
-
getIsolationTypeLabel
public String getIsolationTypeLabel(com.opensymphony.xwork2.TextProvider textProvider)
- Specified by:
getIsolationTypeLabel
in interfaceDockerHandlerProvider
-
-