com.atlassian.bamboo.deployments.results.persistence
Class MutableDeploymentResultImpl

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.deployments.results.persistence.MutableDeploymentResultImpl
All Implemented Interfaces:
BambooCustomDataAware, BambooIdProvider, BambooObject, InternalDeploymentResult, MutableDeploymentResult, java.lang.Cloneable

public class MutableDeploymentResultImpl
extends BambooEntityObject
implements MutableDeploymentResult


Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
MutableDeploymentResultImpl()
           
 
Method Summary
 java.lang.Long getAgentId()
           
 java.util.Map<java.lang.String,java.lang.String> getCustomData()
           
 BuildState getDeploymentState()
           
 java.lang.String getDeploymentVersionName()
           
 long getEnvironmentId()
           
 java.util.Date getExecutedDate()
           
 java.util.Date getFinishedDate()
           
 LifeCycleState getLifeCycleState()
           
 java.util.Date getQueuedDate()
           
 java.util.Date getStartedDate()
           
 TriggerReason getTriggerReason()
           
 java.lang.String getTriggerReasonKey()
           
 VariableContextBaseline getVariableContextBaseline()
           
 long getVersionId()
           
 void setAgentId(java.lang.Long agentId)
           
 void setDeploymentState(BuildState deploymentState)
           
 void setDeploymentVersion(MutableDeploymentVersion deploymentVersion)
           
 void setDeploymentVersionName(java.lang.String deploymentVersionName)
           
 void setEnvironment(MutableEnvironment environment)
           
 void setExecutedDate(java.util.Date executedDate)
           
 void setFinishedDate(java.util.Date finishedDate)
           
 void setLifeCycleState(LifeCycleState lifeCycleState)
           
 void setQueuedDate(java.util.Date queuedDate)
           
 void setStartedDate(java.util.Date startedDate)
           
 void setTriggerReasonKey(java.lang.String triggerReasonKey)
           
 void setVariableContextBaseline(VariableContextBaseline variableContextBaseline)
           
 java.lang.String toString()
           
 void updateCustomDataEntry(java.lang.String key, java.lang.String value)
          Add or modify key value pair to Object's custom data map.
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
equals, getId, hashCode, setId
 
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.deployments.results.InternalDeploymentResult
getId
 

Constructor Detail

MutableDeploymentResultImpl

public MutableDeploymentResultImpl()
Method Detail

setDeploymentVersion

public void setDeploymentVersion(@Nullable
                                 MutableDeploymentVersion deploymentVersion)

setEnvironment

public void setEnvironment(MutableEnvironment environment)

getDeploymentVersionName

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

setDeploymentVersionName

public void setDeploymentVersionName(@NotNull
                                     java.lang.String deploymentVersionName)
Specified by:
setDeploymentVersionName in interface MutableDeploymentResult

getDeploymentState

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

setDeploymentState

public void setDeploymentState(@Nullable
                               BuildState deploymentState)
Specified by:
setDeploymentState in interface MutableDeploymentResult

getEnvironmentId

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

getVersionId

public long getVersionId()
Specified by:
getVersionId in interface MutableDeploymentResult

getLifeCycleState

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

setLifeCycleState

public void setLifeCycleState(@Nullable
                              LifeCycleState lifeCycleState)
Specified by:
setLifeCycleState in interface MutableDeploymentResult

getStartedDate

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

setStartedDate

public void setStartedDate(@Nullable
                           java.util.Date startedDate)
Specified by:
setStartedDate in interface MutableDeploymentResult

getQueuedDate

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

setQueuedDate

public void setQueuedDate(@Nullable
                          java.util.Date queuedDate)
Specified by:
setQueuedDate in interface MutableDeploymentResult

getExecutedDate

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

setExecutedDate

public void setExecutedDate(@Nullable
                            java.util.Date executedDate)
Specified by:
setExecutedDate in interface MutableDeploymentResult

getFinishedDate

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

setFinishedDate

public void setFinishedDate(@Nullable
                            java.util.Date finishedDate)
Specified by:
setFinishedDate in interface MutableDeploymentResult

getAgentId

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

setAgentId

public void setAgentId(java.lang.Long agentId)
Specified by:
setAgentId in interface MutableDeploymentResult

getVariableContextBaseline

@Nullable
public VariableContextBaseline getVariableContextBaseline()

setVariableContextBaseline

public void setVariableContextBaseline(@Nullable
                                       VariableContextBaseline variableContextBaseline)

getTriggerReasonKey

public java.lang.String getTriggerReasonKey()
Specified by:
getTriggerReasonKey in interface MutableDeploymentResult

setTriggerReasonKey

public void setTriggerReasonKey(java.lang.String triggerReasonKey)
Specified by:
setTriggerReasonKey in interface MutableDeploymentResult

getTriggerReason

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

updateCustomDataEntry

public void updateCustomDataEntry(@NotNull
                                  java.lang.String key,
                                  @NotNull
                                  java.lang.String value)
Description copied from interface: BambooCustomDataAware
Add or modify key value pair to Object's custom data map.

Specified by:
updateCustomDataEntry in interface BambooCustomDataAware

getCustomData

@NotNull
public java.util.Map<java.lang.String,java.lang.String> getCustomData()
Specified by:
getCustomData in interface MutableDeploymentResult

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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