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