public class EnvironmentStatusImpl extends Object implements EnvironmentStatus
Constructor and Description |
---|
EnvironmentStatusImpl(Environment environment,
DeploymentResult deploymentResult) |
EnvironmentStatusImpl(Environment environment,
DeploymentResult deploymentResult,
DeploymentResult latestResult) |
Modifier and Type | Method and Description |
---|---|
DeploymentResult |
getDeploymentResult()
Deployment result of interest for this environment
|
Environment |
getEnvironment()
Environment represented by the status
|
DeploymentResult |
getLatestResult()
The latest deployment result for this environment IF it is different from the deployment result of interest
|
public EnvironmentStatusImpl(@NotNull Environment environment, @Nullable DeploymentResult deploymentResult)
public EnvironmentStatusImpl(@NotNull Environment environment, @Nullable DeploymentResult deploymentResult, @Nullable DeploymentResult latestResult)
@Nullable public DeploymentResult getDeploymentResult()
EnvironmentStatus
getDeploymentResult
in interface EnvironmentStatus
@Nullable public DeploymentResult getLatestResult()
EnvironmentStatus
getLatestResult
in interface EnvironmentStatus
@NotNull public Environment getEnvironment()
EnvironmentStatus
getEnvironment
in interface EnvironmentStatus
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.