com.atlassian.bamboo.deployments.projects
Class DeploymentProjectStatusForResultSummaryImpl

java.lang.Object
  extended by com.atlassian.bamboo.deployments.projects.DeploymentProjectStatusForResultSummaryImpl
All Implemented Interfaces:
DeploymentProjectStatusForResultSummary

public class DeploymentProjectStatusForResultSummaryImpl
extends Object
implements DeploymentProjectStatusForResultSummary


Constructor Summary
DeploymentProjectStatusForResultSummaryImpl(DeploymentProject deploymentProject, DeploymentVersion relatedVersion, DeploymentVersion futureVersion, ResultsSummary futureVersionResult, List<? extends EnvironmentStatus> environmentStatuses)
           
 
Method Summary
 DeploymentProject getDeploymentProject()
           
 List<? extends EnvironmentStatus> getEnvironmentStatuses()
           
 DeploymentVersion getFutureVersion()
          If there is no related version, this property contains the first version, which is associated with the build results of the same Plan.
 ResultsSummary getFutureVersionResult()
          If there is no related version, this property contains the build result used to create the first version, which is associated with the build results of the same Plan.
 DeploymentVersion getRelatedVersion()
          Version associated with the ResultsSummary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentProjectStatusForResultSummaryImpl

public DeploymentProjectStatusForResultSummaryImpl(@NotNull
                                                   DeploymentProject deploymentProject,
                                                   @Nullable
                                                   DeploymentVersion relatedVersion,
                                                   @Nullable
                                                   DeploymentVersion futureVersion,
                                                   @Nullable
                                                   ResultsSummary futureVersionResult,
                                                   @NotNull
                                                   List<? extends EnvironmentStatus> environmentStatuses)
Method Detail

getDeploymentProject

@NotNull
public DeploymentProject getDeploymentProject()
Specified by:
getDeploymentProject in interface DeploymentProjectStatusForResultSummary

getEnvironmentStatuses

@NotNull
public List<? extends EnvironmentStatus> getEnvironmentStatuses()
Specified by:
getEnvironmentStatuses in interface DeploymentProjectStatusForResultSummary

getRelatedVersion

@Nullable
public DeploymentVersion getRelatedVersion()
Description copied from interface: DeploymentProjectStatusForResultSummary
Version associated with the ResultsSummary

Specified by:
getRelatedVersion in interface DeploymentProjectStatusForResultSummary

getFutureVersion

@Nullable
public DeploymentVersion getFutureVersion()
Description copied from interface: DeploymentProjectStatusForResultSummary
If there is no related version, this property contains the first version, which is associated with the build results of the same Plan.

Specified by:
getFutureVersion in interface DeploymentProjectStatusForResultSummary

getFutureVersionResult

public ResultsSummary getFutureVersionResult()
Description copied from interface: DeploymentProjectStatusForResultSummary
If there is no related version, this property contains the build result used to create the first version, which is associated with the build results of the same Plan.

Specified by:
getFutureVersionResult in interface DeploymentProjectStatusForResultSummary


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.