com.atlassian.bamboo.deployments.results
Class DeploymentResultImpl

java.lang.Object
  extended by com.atlassian.bamboo.deployments.results.DeploymentResultImpl
All Implemented Interfaces:
BambooIdProvider, DeploymentResult, InternalDeploymentResult

public class DeploymentResultImpl
extends java.lang.Object
implements DeploymentResult


Constructor Summary
DeploymentResultImpl(MutableDeploymentResult deploymentResult, Environment environment, DeploymentVersion deploymentVersion, Operations operations)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 BuildAgent getAgent()
           
 java.lang.Long getAgentId()
           
 com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> getCustomData()
           
 BuildState getDeploymentState()
           
 DeploymentVersion getDeploymentVersion()
           
 java.lang.String getDeploymentVersionName()
           
 Environment getEnvironment()
           
 long getEnvironmentId()
           
 java.util.Date getExecutedDate()
           
 java.util.Date getFinishedDate()
           
 long getId()
           
 DeploymentResultKey getKey()
           
 LifeCycleState getLifeCycleState()
           
 Operations getOperations()
          Operations object describing detailed permissions for result
 java.util.Date getQueuedDate()
           
 java.lang.String getReasonSummary()
           
 java.util.Date getStartedDate()
           
 TriggerReason getTriggerReason()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentResultImpl

public DeploymentResultImpl(@NotNull
                            MutableDeploymentResult deploymentResult,
                            @NotNull
                            Environment environment,
                            @Nullable
                            DeploymentVersion deploymentVersion,
                            @Nullable
                            Operations operations)
Method Detail

getId

public long getId()
Specified by:
getId in interface BambooIdProvider
Specified by:
getId in interface InternalDeploymentResult

getKey

@NotNull
public DeploymentResultKey getKey()
Specified by:
getKey in interface DeploymentResult

getDeploymentState

@NotNull
public BuildState getDeploymentState()
Specified by:
getDeploymentState in interface InternalDeploymentResult

getLifeCycleState

@NotNull
public LifeCycleState getLifeCycleState()
Specified by:
getLifeCycleState in interface InternalDeploymentResult

getStartedDate

@Nullable
public java.util.Date getStartedDate()
Specified by:
getStartedDate in interface InternalDeploymentResult

getQueuedDate

@Nullable
public java.util.Date getQueuedDate()
Specified by:
getQueuedDate in interface InternalDeploymentResult

getExecutedDate

@Nullable
public java.util.Date getExecutedDate()
Specified by:
getExecutedDate in interface InternalDeploymentResult

getFinishedDate

@Nullable
public java.util.Date getFinishedDate()
Specified by:
getFinishedDate in interface InternalDeploymentResult

getAgentId

public java.lang.Long getAgentId()
Specified by:
getAgentId in interface InternalDeploymentResult

getEnvironment

@NotNull
public Environment getEnvironment()
Specified by:
getEnvironment in interface DeploymentResult

getEnvironmentId

public long getEnvironmentId()
Specified by:
getEnvironmentId in interface InternalDeploymentResult

getDeploymentVersion

@Nullable
public DeploymentVersion getDeploymentVersion()
Specified by:
getDeploymentVersion in interface DeploymentResult

getDeploymentVersionName

@NotNull
public java.lang.String getDeploymentVersionName()
Specified by:
getDeploymentVersionName in interface InternalDeploymentResult

getTriggerReason

@NotNull
public TriggerReason getTriggerReason()
Specified by:
getTriggerReason in interface InternalDeploymentResult

getReasonSummary

@NotNull
public java.lang.String getReasonSummary()
Specified by:
getReasonSummary in interface DeploymentResult

getCustomData

@NotNull
public com.google.common.collect.ImmutableMap<java.lang.String,java.lang.String> getCustomData()
Specified by:
getCustomData in interface DeploymentResult

getAgent

@Nullable
public BuildAgent getAgent()
Specified by:
getAgent in interface DeploymentResult

getOperations

public Operations getOperations()
Description copied from interface: DeploymentResult
Operations object describing detailed permissions for result

Specified by:
getOperations in interface DeploymentResult
Returns:

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.