Class TestDockerHandlerProvider
java.lang.Object
com.atlassian.bamboo.plugins.testutils.docker.TestDockerHandlerProvider
- All Implemented Interfaces:
DockerHandlerProvider
,InitablePluginModule<DockerHandlerModuleDescriptor>
,BambooPluginModule
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetHandler
(@NotNull Map webFragmentsContextMap, boolean create) getHandler
(@Nullable BuildDefinition job, boolean create) getHandler
(@Nullable Environment environment, boolean create) getIsolationTypeLabel
(com.opensymphony.xwork2.TextProvider textProvider) void
init
(@NotNull DockerHandlerModuleDescriptor moduleDescriptor) Initialises the Plugin with the plugin module descriptorboolean
isCustomDedicatedAgentExpected
(@NotNull BuildDefinition buildDefinition) If an environment is configured by this plugin to use ephemeral agents.boolean
isCustomDedicatedAgentExpected
(@NotNull Map<String, String> environmentCustomConfig) If an environment is configured by this plugin to use ephemeral agents.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
-
Field Details
-
EPHEMERAL_AGENTS_TEST
- See Also:
-
-
Constructor Details
-
TestDockerHandlerProvider
public TestDockerHandlerProvider()
-
-
Method Details
-
init
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
- Specified by:
getIsolationType
in interfaceDockerHandlerProvider
-
getIsolationTypeLabel
- Specified by:
getIsolationTypeLabel
in interfaceDockerHandlerProvider
-
getHandler
- Specified by:
getHandler
in interfaceDockerHandlerProvider
-
getHandler
- Specified by:
getHandler
in interfaceDockerHandlerProvider
-
getHandler
- Specified by:
getHandler
in interfaceDockerHandlerProvider
-
isCustomDedicatedAgentExpected
Description copied from interface:DockerHandlerProvider
If an environment is configured by this plugin to use ephemeral agents.- Specified by:
isCustomDedicatedAgentExpected
in interfaceDockerHandlerProvider
-
isCustomDedicatedAgentExpected
public boolean isCustomDedicatedAgentExpected(@NotNull @NotNull Map<String, String> environmentCustomConfig) Description copied from interface:DockerHandlerProvider
If an environment is configured by this plugin to use ephemeral agents. The passed configuration won't be null, but it can be empty.- Specified by:
isCustomDedicatedAgentExpected
in interfaceDockerHandlerProvider
-