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,Cloneable
@Entity public class MutableDeploymentResultImpl extends BambooEntityObject implements MutableDeploymentResult
-
-
Constructor Summary
Constructors Constructor Description MutableDeploymentResultImpl()
-
Method Summary
-
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, 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
-
-
-
-
Method Detail
-
setDeploymentVersion
public void setDeploymentVersion(@Nullable @Nullable MutableDeploymentVersion deploymentVersion)
-
setEnvironment
public void setEnvironment(MutableEnvironment environment)
-
getDeploymentVersionName
@NotNull public @NotNull String getDeploymentVersionName()
- Specified by:
getDeploymentVersionNamein interfaceInternalDeploymentResult
-
setDeploymentVersionName
public void setDeploymentVersionName(@NotNull @NotNull String deploymentVersionName)- Specified by:
setDeploymentVersionNamein interfaceMutableDeploymentResult
-
getDeploymentState
@NotNull public @NotNull BuildState getDeploymentState()
- Specified by:
getDeploymentStatein interfaceInternalDeploymentResult
-
setDeploymentState
public void setDeploymentState(@Nullable @Nullable BuildState deploymentState)- Specified by:
setDeploymentStatein interfaceMutableDeploymentResult
-
getEnvironmentId
public long getEnvironmentId()
- Specified by:
getEnvironmentIdin interfaceInternalDeploymentResult
-
getVersionId
public long getVersionId()
- Specified by:
getVersionIdin interfaceMutableDeploymentResult
-
getLifeCycleState
@NotNull public @NotNull LifeCycleState getLifeCycleState()
- Specified by:
getLifeCycleStatein interfaceInternalDeploymentResult
-
setLifeCycleState
public void setLifeCycleState(@Nullable @Nullable LifeCycleState lifeCycleState)- Specified by:
setLifeCycleStatein interfaceMutableDeploymentResult
-
getStartedDate
@Nullable public @Nullable Date getStartedDate()
- Specified by:
getStartedDatein interfaceInternalDeploymentResult- Returns:
- when deployment result execution initiated, e.g. triggered or manually executed by user. Set with
LifeCycleState.PENDINGstate.
-
setStartedDate
public void setStartedDate(@Nullable @Nullable Date startedDate)- Specified by:
setStartedDatein interfaceMutableDeploymentResult
-
getQueuedDate
@Nullable public @Nullable Date getQueuedDate()
- Specified by:
getQueuedDatein interfaceInternalDeploymentResult- Returns:
- when deployment result added to queue. Set with
LifeCycleState.QUEUEDstate.
-
setQueuedDate
public void setQueuedDate(@Nullable @Nullable Date queuedDate)- Specified by:
setQueuedDatein interfaceMutableDeploymentResult
-
getExecutedDate
@Nullable public @Nullable Date getExecutedDate()
- Specified by:
getExecutedDatein interfaceInternalDeploymentResult- Returns:
- when deployment result sent to agent for execution. Set with
LifeCycleState.IN_PROGRESSstate.
-
setExecutedDate
public void setExecutedDate(@Nullable @Nullable Date executedDate)- Specified by:
setExecutedDatein interfaceMutableDeploymentResult
-
getFinishedDate
@Nullable public @Nullable Date getFinishedDate()
- Specified by:
getFinishedDatein interfaceInternalDeploymentResult- Returns:
- when deployment result execution was finished. Set with
LifeCycleState.FINAL_STATESstates.
-
setFinishedDate
public void setFinishedDate(@Nullable @Nullable Date finishedDate)- Specified by:
setFinishedDatein interfaceMutableDeploymentResult
-
getAgentId
public Long getAgentId()
- Specified by:
getAgentIdin interfaceInternalDeploymentResult
-
setAgentId
public void setAgentId(Long agentId)
- Specified by:
setAgentIdin interfaceMutableDeploymentResult
-
getAgentType
@Nullable public @Nullable AgentType getAgentType()
- Specified by:
getAgentTypein interfaceInternalDeploymentResult
-
setAgentType
public void setAgentType(@Nullable @Nullable AgentType agentType)- Specified by:
setAgentTypein interfaceMutableDeploymentResult
-
getVariableContextBaseline
@Nullable public @Nullable VariableContextBaseline getVariableContextBaseline()
-
setVariableContextBaseline
public void setVariableContextBaseline(@Nullable @Nullable VariableContextBaseline variableContextBaseline)
-
getTriggerReasonKey
public String getTriggerReasonKey()
- Specified by:
getTriggerReasonKeyin interfaceMutableDeploymentResult
-
setTriggerReasonKey
public void setTriggerReasonKey(String triggerReasonKey)
- Specified by:
setTriggerReasonKeyin interfaceMutableDeploymentResult
-
getTriggerReason
@NotNull public @NotNull TriggerReason getTriggerReason()
- Specified by:
getTriggerReasonin interfaceInternalDeploymentResult
-
updateCustomDataEntry
public void updateCustomDataEntry(@NotNull @NotNull String key, @NotNull @NotNull String value)Description copied from interface:BambooCustomDataAwareAdd or modify key value pair to Object's custom data map.- Specified by:
updateCustomDataEntryin interfaceBambooCustomDataAware- Parameters:
key- key to addvalue- value to add
-
getCustomData
@NotNull public @NotNull Map<String,String> getCustomData()
- Specified by:
getCustomDatain interfaceMutableDeploymentResult
-
-