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 -
Method Summary
Modifier and TypeMethodDescription@Nullable AgentType@NotNull BuildState@NotNull Stringlong@Nullable Date@Nullable Date@NotNull LifeCycleState@Nullable Date@Nullable Date@NotNull TriggerReason@Nullable VariableContextBaselinelongvoidsetAgentId(Long agentId) voidsetAgentType(@Nullable AgentType agentType) voidsetDeploymentState(@Nullable BuildState deploymentState) voidsetDeploymentVersion(@Nullable MutableDeploymentVersion deploymentVersion) voidsetDeploymentVersionName(@NotNull String deploymentVersionName) voidsetEnvironment(MutableEnvironment environment) voidsetExecutedDate(@Nullable Date executedDate) voidsetFinishedDate(@Nullable Date finishedDate) voidsetLifeCycleState(@Nullable LifeCycleState lifeCycleState) voidsetQueuedDate(@Nullable Date queuedDate) voidsetStartedDate(@Nullable Date startedDate) voidsetTriggerReasonKey(String triggerReasonKey) voidsetVariableContextBaseline(@Nullable VariableContextBaseline variableContextBaseline) toString()voidupdateCustomDataEntry(@NotNull String key, @NotNull String value) Add or modify key value pair to Object's custom data map.Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDateMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.core.BambooObject
setIdMethods inherited from interface com.atlassian.bamboo.deployments.results.InternalDeploymentResult
getId
-
Constructor Details
-
MutableDeploymentResultImpl
public MutableDeploymentResultImpl()
-
-
Method Details
-
setDeploymentVersion
-
setEnvironment
-
getDeploymentVersionName
- Specified by:
getDeploymentVersionNamein interfaceInternalDeploymentResult
-
setDeploymentVersionName
- Specified by:
setDeploymentVersionNamein interfaceMutableDeploymentResult
-
getDeploymentState
- Specified by:
getDeploymentStatein interfaceInternalDeploymentResult
-
setDeploymentState
- Specified by:
setDeploymentStatein interfaceMutableDeploymentResult
-
getEnvironmentId
public long getEnvironmentId()- Specified by:
getEnvironmentIdin interfaceInternalDeploymentResult
-
getVersionId
public long getVersionId()- Specified by:
getVersionIdin interfaceMutableDeploymentResult
-
getLifeCycleState
- Specified by:
getLifeCycleStatein interfaceInternalDeploymentResult
-
setLifeCycleState
- Specified by:
setLifeCycleStatein interfaceMutableDeploymentResult
-
getStartedDate
- Specified by:
getStartedDatein interfaceInternalDeploymentResult- Returns:
- when deployment result execution initiated, e.g. triggered or manually executed by user. Set with
LifeCycleState.PENDINGstate.
-
setStartedDate
- Specified by:
setStartedDatein interfaceMutableDeploymentResult
-
getQueuedDate
- Specified by:
getQueuedDatein interfaceInternalDeploymentResult- Returns:
- when deployment result added to queue. Set with
LifeCycleState.QUEUEDstate.
-
setQueuedDate
- Specified by:
setQueuedDatein interfaceMutableDeploymentResult
-
getExecutedDate
- Specified by:
getExecutedDatein interfaceInternalDeploymentResult- Returns:
- when deployment result sent to agent for execution. Set with
LifeCycleState.IN_PROGRESSstate.
-
setExecutedDate
- Specified by:
setExecutedDatein interfaceMutableDeploymentResult
-
getFinishedDate
- Specified by:
getFinishedDatein interfaceInternalDeploymentResult- Returns:
- when deployment result execution was finished. Set with
LifeCycleState.FINAL_STATESstates.
-
setFinishedDate
- Specified by:
setFinishedDatein interfaceMutableDeploymentResult
-
getAgentId
- Specified by:
getAgentIdin interfaceInternalDeploymentResult
-
setAgentId
- Specified by:
setAgentIdin interfaceMutableDeploymentResult
-
getAgentType
- Specified by:
getAgentTypein interfaceInternalDeploymentResult
-
setAgentType
- Specified by:
setAgentTypein interfaceMutableDeploymentResult
-
getVariableContextBaseline
-
setVariableContextBaseline
public void setVariableContextBaseline(@Nullable @Nullable VariableContextBaseline variableContextBaseline) -
getTriggerReasonKey
- Specified by:
getTriggerReasonKeyin interfaceMutableDeploymentResult
-
setTriggerReasonKey
- Specified by:
setTriggerReasonKeyin interfaceMutableDeploymentResult
-
getTriggerReason
- Specified by:
getTriggerReasonin interfaceInternalDeploymentResult
-
updateCustomDataEntry
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
- Specified by:
getCustomDatain interfaceMutableDeploymentResult
-
toString
-