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 java.lang.Object
implements DeploymentProjectStatusForResultSummary


Constructor Summary
DeploymentProjectStatusForResultSummaryImpl(DeploymentProject deploymentProject, DeploymentVersion relatedVersion, DeploymentVersion futureVersion, ResultsSummary futureVersionResult, java.util.List<? extends EnvironmentStatus> environmentStatuses)
           
 
Method Summary
 DeploymentProject getDeploymentProject()
           
 java.util.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
                                                   java.util.List<? extends EnvironmentStatus> environmentStatuses)
Method Detail

getDeploymentProject

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

getEnvironmentStatuses

@NotNull
public java.util.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 © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.