public class DeploymentContextImpl extends Object implements DeploymentContext
| Constructor and Description |
|---|
DeploymentContextImpl(@NotNull DeploymentProject deploymentProject,
@NotNull DeploymentResult deploymentResult,
@NotNull List<TaskDefinition> taskDefinitions,
@NotNull Map<String,String> artifactHandlerConfiguration,
@NotNull VariableContext variableContext,
Map<Long,PlanRepositoryDefinition> planRepositoryDefinitionMap,
com.google.common.collect.Multimap<String,Artifact> versionArtifacts,
@Nullable DeploymentVersion previousVersion,
@NotNull Iterable<CredentialsData> sharedCredentials,
@NotNull Map<PlanKey,ChainStorageTag> necessaryStorageTags,
@NotNull Map<String,Map<String,String>> pluginConfigMap,
@NotNull DockerPipelineConfiguration dockerPipelineConfiguration,
@NotNull CommonArtifactContext commonArtifactContext,
@NotNull boolean isVerboseLoggingOn) |
public DeploymentContextImpl(@NotNull
@NotNull DeploymentProject deploymentProject,
@NotNull
@NotNull DeploymentResult deploymentResult,
@NotNull
@NotNull List<TaskDefinition> taskDefinitions,
@NotNull
@NotNull Map<String,String> artifactHandlerConfiguration,
@NotNull
@NotNull VariableContext variableContext,
Map<Long,PlanRepositoryDefinition> planRepositoryDefinitionMap,
com.google.common.collect.Multimap<String,Artifact> versionArtifacts,
@Nullable
@Nullable DeploymentVersion previousVersion,
@NotNull
@NotNull Iterable<CredentialsData> sharedCredentials,
@NotNull
@NotNull Map<PlanKey,ChainStorageTag> necessaryStorageTags,
@NotNull
@NotNull Map<String,Map<String,String>> pluginConfigMap,
@NotNull
@NotNull DockerPipelineConfiguration dockerPipelineConfiguration,
@NotNull
@NotNull CommonArtifactContext commonArtifactContext,
@NotNull
@NotNull boolean isVerboseLoggingOn)
@NotNull public @NotNull BuildKey getBuildKey()
getBuildKey in interface CommonContext@NotNull public @NotNull List<PlanRepositoryDefinition> getVcsRepositories()
getVcsRepositories in interface CommonContext@NotNull public @NotNull Map<Long,PlanRepositoryDefinition> getVcsRepositoryMap()
getVcsRepositoryMap in interface CommonContextpublic long getDeploymentResultId()
getDeploymentResultId in interface DeploymentContextpublic long getEnvironmentId()
getEnvironmentId in interface DeploymentContextpublic Long getEntityGroupId()
CommonContextgetEntityGroupId in interface CommonContextpublic long getDeploymentProjectId()
getDeploymentProjectId in interface DeploymentContextpublic long getEntityId()
getEntityId in interface CommonContext@NotNull public @NotNull Key getEntityKey()
getEntityKey in interface CommonContext@NotNull public @NotNull ResultKey getResultKey()
getResultKey in interface CommonContextpublic String getDisplayName()
CommonContextgetDisplayName in interface CommonContextpublic CurrentResult getCurrentResult()
getCurrentResult in interface CommonContext@NotNull public @NotNull DeploymentVersion getDeploymentVersion()
getDeploymentVersion in interface DeploymentContext@NotNull public @NotNull ErrorCollection getErrorCollection()
CommonContextgetErrorCollection in interface CommonContext@NotNull public @NotNull List<RuntimeTaskDefinition> getRuntimeTaskDefinitions()
CommonContextgetRuntimeTaskDefinitions in interface CommonContextList of RuntimeTaskDefinitions@NotNull public @NotNull VariableContext getVariableContext()
getVariableContext in interface CommonContext@NotNull public @NotNull Map<String,String> getArtifactHandlerConfiguration()
getArtifactHandlerConfiguration in interface DeploymentContext@NotNull public @NotNull TriggerReason getTriggerReason()
CommonContextgetTriggerReason in interface CommonContext@NotNull public @NotNull com.google.common.collect.Multimap<String,Artifact> getVersionArtifacts()
getVersionArtifacts in interface DeploymentContext@NotNull public @NotNull String getDeploymentProjectName()
getDeploymentProjectName in interface DeploymentContext@NotNull public @NotNull String getEnvironmentName()
getEnvironmentName in interface DeploymentContextpublic boolean isRollback()
isRollback in interface DeploymentContext@Nullable public @Nullable String getPreviousVersionName()
getPreviousVersionName in interface DeploymentContext@NotNull public @NotNull Map<String,String> getPluginConfigMap(String key)
DeploymentContextgetPluginConfigMap in interface DeploymentContextkey - CustomEnvironmentConfigPlugin full plugin key@NotNull public @NotNull DockerPipelineConfiguration getDockerPipelineConfiguration()
getDockerPipelineConfiguration in interface CommonContext@NotNull public @NotNull Iterable<CredentialsData> getSharedCredentials()
getSharedCredentials in interface CommonContext@NotNull public @NotNull Map<PlanKey,ChainStorageTag> getChainStorageTags()
getChainStorageTags in interface CommonContext@NotNull public @NotNull CommonArtifactContext getArtifactContext()
getArtifactContext in interface CommonContextpublic boolean isVerboseLoggingOn()
CommonContextisVerboseLoggingOn in interface CommonContextCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.