public class TestDockerHandlerProvider extends Object implements DockerHandlerProvider
Modifier and Type | Field and Description |
---|---|
static String |
EPHEMERAL_AGENTS_TEST |
Constructor and Description |
---|
TestDockerHandlerProvider() |
Modifier and Type | Method and Description |
---|---|
DockerHandler |
getHandler(@Nullable BuildDefinition job,
boolean create) |
DockerHandler |
getHandler(@Nullable Environment environment,
boolean create) |
DockerHandler |
getHandler(@NotNull Map webFragmentsContextMap,
boolean create) |
String |
getIsolationType() |
String |
getIsolationTypeLabel(com.opensymphony.xwork2.TextProvider textProvider) |
void |
init(@NotNull DockerHandlerModuleDescriptor moduleDescriptor)
Initialises the Plugin with the plugin module descriptor
|
boolean |
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEnvironmentConfigurationKey
public static final String EPHEMERAL_AGENTS_TEST
public void init(@NotNull @NotNull DockerHandlerModuleDescriptor moduleDescriptor)
InitablePluginModule
init
in interface InitablePluginModule<DockerHandlerModuleDescriptor>
moduleDescriptor
- Plugin module descriptorpublic String getIsolationType()
getIsolationType
in interface DockerHandlerProvider
public String getIsolationTypeLabel(com.opensymphony.xwork2.TextProvider textProvider)
getIsolationTypeLabel
in interface DockerHandlerProvider
public DockerHandler getHandler(@Nullable @Nullable BuildDefinition job, boolean create)
getHandler
in interface DockerHandlerProvider
public DockerHandler getHandler(@Nullable @Nullable Environment environment, boolean create)
getHandler
in interface DockerHandlerProvider
public DockerHandler getHandler(@NotNull @NotNull Map webFragmentsContextMap, boolean create)
getHandler
in interface DockerHandlerProvider
public boolean isCustomDedicatedAgentExpected(@NotNull @NotNull BuildDefinition buildDefinition)
DockerHandlerProvider
isCustomDedicatedAgentExpected
in interface DockerHandlerProvider
public boolean isCustomDedicatedAgentExpected(@NotNull @NotNull Map<String,String> environmentCustomConfig)
DockerHandlerProvider
isCustomDedicatedAgentExpected
in interface DockerHandlerProvider
Copyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.