Class EnvironmentStatusImpl
- java.lang.Object
-
- com.atlassian.bamboo.deployments.environments.EnvironmentStatusImpl
-
- All Implemented Interfaces:
EnvironmentStatus
public class EnvironmentStatusImpl extends Object implements EnvironmentStatus
-
-
Constructor Summary
Constructors Constructor Description EnvironmentStatusImpl(@NotNull Environment environment, @Nullable DeploymentResult deploymentResult)
EnvironmentStatusImpl(@NotNull Environment environment, @Nullable DeploymentResult deploymentResult, @Nullable DeploymentResult latestResult)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable DeploymentResult
getDeploymentResult()
Deployment result of interest for this environment@NotNull Environment
getEnvironment()
Environment represented by the status@Nullable DeploymentResult
getLatestResult()
The latest deployment result for this environment IF it is different from the deployment result of interest
-
-
-
Constructor Detail
-
EnvironmentStatusImpl
public EnvironmentStatusImpl(@NotNull @NotNull Environment environment, @Nullable @Nullable DeploymentResult deploymentResult)
-
EnvironmentStatusImpl
public EnvironmentStatusImpl(@NotNull @NotNull Environment environment, @Nullable @Nullable DeploymentResult deploymentResult, @Nullable @Nullable DeploymentResult latestResult)
-
-
Method Detail
-
getDeploymentResult
@Nullable public @Nullable DeploymentResult getDeploymentResult()
Description copied from interface:EnvironmentStatus
Deployment result of interest for this environment- Specified by:
getDeploymentResult
in interfaceEnvironmentStatus
-
getLatestResult
@Nullable public @Nullable DeploymentResult getLatestResult()
Description copied from interface:EnvironmentStatus
The latest deployment result for this environment IF it is different from the deployment result of interest- Specified by:
getLatestResult
in interfaceEnvironmentStatus
-
getEnvironment
@NotNull public @NotNull Environment getEnvironment()
Description copied from interface:EnvironmentStatus
Environment represented by the status- Specified by:
getEnvironment
in interfaceEnvironmentStatus
-
-