public class DeploymentResultImpl extends Object implements DeploymentResult
Constructor and Description |
---|
DeploymentResultImpl(@NotNull DeploymentResultDto deploymentResult,
@NotNull Environment environment,
@Nullable DeploymentVersion deploymentVersion,
@Nullable Operations operations) |
DeploymentResultImpl(long id,
BuildState deploymentState,
LifeCycleState lifeCycleState,
Date startedDate,
Date queuedDate,
Date executedDate,
Date finishedDate,
String deploymentVersionName,
Long agentId,
Map<String,String> customData,
TriggerReason triggerReason,
@NotNull Environment environment,
@Nullable DeploymentVersion deploymentVersion,
@Nullable Operations operations) |
DeploymentResultImpl(@NotNull MutableDeploymentResult deploymentResult,
@NotNull Environment environment,
@Nullable DeploymentVersion deploymentVersion,
@Nullable Operations operations) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
@Nullable BuildAgent |
getAgent() |
Long |
getAgentId() |
@NotNull com.google.common.collect.ImmutableMap<String,String> |
getCustomData() |
@NotNull BuildState |
getDeploymentState() |
@Nullable DeploymentVersion |
getDeploymentVersion() |
@NotNull String |
getDeploymentVersionName() |
@NotNull Environment |
getEnvironment() |
long |
getEnvironmentId() |
@Nullable Date |
getExecutedDate() |
@Nullable Date |
getFinishedDate() |
long |
getId() |
@NotNull DeploymentResultKey |
getKey() |
@NotNull LifeCycleState |
getLifeCycleState() |
Operations |
getOperations()
Operations object describing detailed permissions for result |
@Nullable Date |
getQueuedDate() |
@NotNull String |
getReasonSummary() |
@Nullable Date |
getStartedDate() |
@NotNull TriggerReason |
getTriggerReason() |
int |
hashCode() |
public DeploymentResultImpl(@NotNull @NotNull MutableDeploymentResult deploymentResult, @NotNull @NotNull Environment environment, @Nullable @Nullable DeploymentVersion deploymentVersion, @Nullable @Nullable Operations operations)
public DeploymentResultImpl(@NotNull @NotNull DeploymentResultDto deploymentResult, @NotNull @NotNull Environment environment, @Nullable @Nullable DeploymentVersion deploymentVersion, @Nullable @Nullable Operations operations)
public DeploymentResultImpl(long id, BuildState deploymentState, LifeCycleState lifeCycleState, Date startedDate, Date queuedDate, Date executedDate, Date finishedDate, String deploymentVersionName, Long agentId, Map<String,String> customData, TriggerReason triggerReason, @NotNull @NotNull Environment environment, @Nullable @Nullable DeploymentVersion deploymentVersion, @Nullable @Nullable Operations operations)
public long getId()
getId
in interface BambooIdProvider
getId
in interface InternalDeploymentResult
@NotNull public @NotNull DeploymentResultKey getKey()
getKey
in interface DeploymentResult
@NotNull public @NotNull BuildState getDeploymentState()
getDeploymentState
in interface InternalDeploymentResult
@NotNull public @NotNull LifeCycleState getLifeCycleState()
getLifeCycleState
in interface InternalDeploymentResult
@Nullable public @Nullable Date getStartedDate()
getStartedDate
in interface InternalDeploymentResult
LifeCycleState.PENDING
state.@Nullable public @Nullable Date getQueuedDate()
getQueuedDate
in interface InternalDeploymentResult
LifeCycleState.QUEUED
state.@Nullable public @Nullable Date getExecutedDate()
getExecutedDate
in interface InternalDeploymentResult
LifeCycleState.IN_PROGRESS
state.@Nullable public @Nullable Date getFinishedDate()
getFinishedDate
in interface InternalDeploymentResult
LifeCycleState.FINAL_STATES
states.public Long getAgentId()
getAgentId
in interface InternalDeploymentResult
@NotNull public @NotNull Environment getEnvironment()
getEnvironment
in interface DeploymentResult
public long getEnvironmentId()
getEnvironmentId
in interface InternalDeploymentResult
@Nullable public @Nullable DeploymentVersion getDeploymentVersion()
getDeploymentVersion
in interface DeploymentResult
@NotNull public @NotNull String getDeploymentVersionName()
getDeploymentVersionName
in interface InternalDeploymentResult
@NotNull public @NotNull TriggerReason getTriggerReason()
getTriggerReason
in interface InternalDeploymentResult
@NotNull public @NotNull String getReasonSummary()
getReasonSummary
in interface DeploymentResult
@NotNull public @NotNull com.google.common.collect.ImmutableMap<String,String> getCustomData()
getCustomData
in interface DeploymentResult
@Nullable public @Nullable BuildAgent getAgent()
getAgent
in interface DeploymentResult
public Operations getOperations()
DeploymentResult
Operations
object describing detailed permissions for resultgetOperations
in interface DeploymentResult
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.