com.atlassian.bamboo.deployments.results.persistence
Class MutableDeploymentResultImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
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
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 |
MutableDeploymentResultImpl
public MutableDeploymentResultImpl()
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.