public class DeploymentResultImpl extends Object implements DeploymentResult
Constructor and Description |
---|
DeploymentResultImpl(DeploymentResultDto deploymentResult,
Environment environment,
DeploymentVersion deploymentVersion,
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,
Environment environment,
DeploymentVersion deploymentVersion,
Operations operations) |
DeploymentResultImpl(MutableDeploymentResult deploymentResult,
Environment environment,
DeploymentVersion deploymentVersion,
Operations operations) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
BuildAgent |
getAgent() |
Long |
getAgentId() |
com.google.common.collect.ImmutableMap<String,String> |
getCustomData() |
BuildState |
getDeploymentState() |
DeploymentVersion |
getDeploymentVersion() |
String |
getDeploymentVersionName() |
Environment |
getEnvironment() |
long |
getEnvironmentId() |
Date |
getExecutedDate() |
Date |
getFinishedDate() |
long |
getId() |
DeploymentResultKey |
getKey() |
LifeCycleState |
getLifeCycleState() |
Operations |
getOperations()
Operations object describing detailed permissions for result |
Date |
getQueuedDate() |
String |
getReasonSummary() |
Date |
getStartedDate() |
TriggerReason |
getTriggerReason() |
int |
hashCode() |
public DeploymentResultImpl(@NotNull MutableDeploymentResult deploymentResult, @NotNull Environment environment, @Nullable DeploymentVersion deploymentVersion, @Nullable Operations operations)
public DeploymentResultImpl(@NotNull DeploymentResultDto deploymentResult, @NotNull Environment environment, @Nullable DeploymentVersion deploymentVersion, @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 Environment environment, @Nullable DeploymentVersion deploymentVersion, @Nullable Operations operations)
public long getId()
getId
in interface BambooIdProvider
getId
in interface InternalDeploymentResult
@NotNull public DeploymentResultKey getKey()
getKey
in interface DeploymentResult
@NotNull public BuildState getDeploymentState()
getDeploymentState
in interface InternalDeploymentResult
@NotNull public LifeCycleState getLifeCycleState()
getLifeCycleState
in interface InternalDeploymentResult
@Nullable public Date getStartedDate()
getStartedDate
in interface InternalDeploymentResult
@Nullable public Date getQueuedDate()
getQueuedDate
in interface InternalDeploymentResult
@Nullable public Date getExecutedDate()
getExecutedDate
in interface InternalDeploymentResult
@Nullable public Date getFinishedDate()
getFinishedDate
in interface InternalDeploymentResult
public Long getAgentId()
getAgentId
in interface InternalDeploymentResult
@NotNull public Environment getEnvironment()
getEnvironment
in interface DeploymentResult
public long getEnvironmentId()
getEnvironmentId
in interface InternalDeploymentResult
@Nullable public DeploymentVersion getDeploymentVersion()
getDeploymentVersion
in interface DeploymentResult
@NotNull public String getDeploymentVersionName()
getDeploymentVersionName
in interface InternalDeploymentResult
@NotNull public TriggerReason getTriggerReason()
getTriggerReason
in interface InternalDeploymentResult
@NotNull public String getReasonSummary()
getReasonSummary
in interface DeploymentResult
@NotNull public com.google.common.collect.ImmutableMap<String,String> getCustomData()
getCustomData
in interface DeploymentResult
@Nullable public BuildAgent getAgent()
getAgent
in interface DeploymentResult
public Operations getOperations()
DeploymentResult
Operations
object describing detailed permissions for resultgetOperations
in interface DeploymentResult
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.