Class DeploymentResultDto
- java.lang.Object
-
- com.atlassian.bamboo.deployments.results.persistence.DeploymentResultDto
-
- All Implemented Interfaces:
EnvironmentStatusForDashboard
public class DeploymentResultDto extends Object implements EnvironmentStatusForDashboard
DeploymentResultDto contains the result-specific data needed from the database to build an immutableDeploymentResult
. Only used for dashboard.
-
-
Constructor Summary
Constructors Constructor Description DeploymentResultDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getAgentId()
AgentType
getAgentType()
Map<String,String>
getCustomData()
Long
getDeploymentResultId()
BuildState
getDeploymentState()
DeploymentVersionDto
getDeploymentVersion()
Long
getDeploymentVersionId()
String
getDeploymentVersionName()
String
getDeploymentVersionRelatedBranchName()
long
getEnvironmentId()
Date
getExecutedDate()
Date
getFinishedDate()
long
getId()
LifeCycleState
getLifeCycleState()
Date
getQueuedDate()
Date
getStartedDate()
@NotNull TriggerReason
getTriggerReason()
String
getTriggerReasonKey()
-
-
-
Method Detail
-
getId
public long getId()
-
getEnvironmentId
public long getEnvironmentId()
- Specified by:
getEnvironmentId
in interfaceEnvironmentStatusForDashboard
-
getLifeCycleState
public LifeCycleState getLifeCycleState()
- Specified by:
getLifeCycleState
in interfaceEnvironmentStatusForDashboard
-
getDeploymentState
public BuildState getDeploymentState()
- Specified by:
getDeploymentState
in interfaceEnvironmentStatusForDashboard
-
getStartedDate
public Date getStartedDate()
- Specified by:
getStartedDate
in interfaceEnvironmentStatusForDashboard
-
getQueuedDate
public Date getQueuedDate()
- Specified by:
getQueuedDate
in interfaceEnvironmentStatusForDashboard
-
getExecutedDate
public Date getExecutedDate()
- Specified by:
getExecutedDate
in interfaceEnvironmentStatusForDashboard
-
getFinishedDate
public Date getFinishedDate()
- Specified by:
getFinishedDate
in interfaceEnvironmentStatusForDashboard
-
getDeploymentVersionName
public String getDeploymentVersionName()
- Specified by:
getDeploymentVersionName
in interfaceEnvironmentStatusForDashboard
-
getAgentId
public Long getAgentId()
-
getAgentType
public AgentType getAgentType()
-
getTriggerReasonKey
public String getTriggerReasonKey()
-
getDeploymentVersion
public DeploymentVersionDto getDeploymentVersion()
-
getDeploymentResultId
public Long getDeploymentResultId()
- Specified by:
getDeploymentResultId
in interfaceEnvironmentStatusForDashboard
-
getDeploymentVersionId
public Long getDeploymentVersionId()
- Specified by:
getDeploymentVersionId
in interfaceEnvironmentStatusForDashboard
-
getDeploymentVersionRelatedBranchName
public String getDeploymentVersionRelatedBranchName()
- Specified by:
getDeploymentVersionRelatedBranchName
in interfaceEnvironmentStatusForDashboard
-
getTriggerReason
@NotNull public @NotNull TriggerReason getTriggerReason()
-
-