@ExperimentalApi
public interface EnvironmentCustomConfigService
Modifier and Type | Method and Description |
---|---|
DockerPipelineConfiguration |
getDockerPipelineConfiguration(long environmentId)
Returns Docker pipeline configuration for a particular environment.
|
Map<String,Map<String,String>> |
getEnvironmentPluginConfig(long environmentId)
Returns plugins configuration map of given environment.
|
void |
saveDockerPipelineConfiguration(DockerPipelineConfiguration dockerPipelineConfiguration,
long environmentId)
Set Docker pipeline configuration for a particular environment.
|
void |
saveEnvironmentPluginConfig(Map<String,Map<String,String>> config,
long environmentId)
Saves plugins config for given environment.
|
@NotNull Map<String,Map<String,String>> getEnvironmentPluginConfig(long environmentId)
environmentId
- ID of the environmentIllegalArgumentException
- if environment with the given ID can't be foundvoid saveEnvironmentPluginConfig(@Nullable Map<String,Map<String,String>> config, long environmentId)
config
- plugins configuration map, with one entry per pluginenvironmentId
- ID of the environmentIllegalArgumentException
- if environment with the given ID can't be found@NotNull DockerPipelineConfiguration getDockerPipelineConfiguration(long environmentId)
environmentId
- ID of the environmentIllegalArgumentException
- if environment with the given ID can't be foundvoid saveDockerPipelineConfiguration(@NotNull DockerPipelineConfiguration dockerPipelineConfiguration, long environmentId)
dockerPipelineConfiguration
- configuration of docker pipelineenvironmentId
- ID of the environmentIllegalArgumentException
- if environment with the given ID can't be foundCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.