Class EnvironmentStatusForDashboardImpl
- java.lang.Object
-
- com.atlassian.bamboo.deployments.results.persistence.EnvironmentStatusForDashboardImpl
-
- All Implemented Interfaces:
EnvironmentStatusForDashboard
@Internal public class EnvironmentStatusForDashboardImpl extends Object implements EnvironmentStatusForDashboard
Minimal implementation ofEnvironmentStatusForDashboardthat can be fetched in a single query. To be used where we only need status but don't need full data fromDeploymentResultDtoorMutableDeploymentResult
-
-
Constructor Summary
Constructors Constructor Description EnvironmentStatusForDashboardImpl(long environmentId, Long deploymentResultId, LifeCycleState lifeCycleState, BuildState deploymentState, Date startedDate, Date queuedDate, Date executedDate, Date finishedDate, Long deploymentVersionId, String deploymentVersionName, String deploymentVersionRelatedBranchName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetDeploymentResultId()BuildStategetDeploymentState()LonggetDeploymentVersionId()StringgetDeploymentVersionName()StringgetDeploymentVersionRelatedBranchName()longgetEnvironmentId()DategetExecutedDate()DategetFinishedDate()LifeCycleStategetLifeCycleState()DategetQueuedDate()DategetStartedDate()
-
-
-
Constructor Detail
-
EnvironmentStatusForDashboardImpl
public EnvironmentStatusForDashboardImpl(long environmentId, Long deploymentResultId, LifeCycleState lifeCycleState, BuildState deploymentState, Date startedDate, Date queuedDate, Date executedDate, Date finishedDate, Long deploymentVersionId, String deploymentVersionName, String deploymentVersionRelatedBranchName)
-
-
Method Detail
-
getEnvironmentId
public long getEnvironmentId()
- Specified by:
getEnvironmentIdin interfaceEnvironmentStatusForDashboard
-
getDeploymentResultId
public Long getDeploymentResultId()
- Specified by:
getDeploymentResultIdin interfaceEnvironmentStatusForDashboard
-
getLifeCycleState
public LifeCycleState getLifeCycleState()
- Specified by:
getLifeCycleStatein interfaceEnvironmentStatusForDashboard
-
getDeploymentState
public BuildState getDeploymentState()
- Specified by:
getDeploymentStatein interfaceEnvironmentStatusForDashboard
-
getStartedDate
public Date getStartedDate()
- Specified by:
getStartedDatein interfaceEnvironmentStatusForDashboard
-
getQueuedDate
public Date getQueuedDate()
- Specified by:
getQueuedDatein interfaceEnvironmentStatusForDashboard
-
getExecutedDate
public Date getExecutedDate()
- Specified by:
getExecutedDatein interfaceEnvironmentStatusForDashboard
-
getFinishedDate
public Date getFinishedDate()
- Specified by:
getFinishedDatein interfaceEnvironmentStatusForDashboard
-
getDeploymentVersionId
public Long getDeploymentVersionId()
- Specified by:
getDeploymentVersionIdin interfaceEnvironmentStatusForDashboard
-
getDeploymentVersionName
public String getDeploymentVersionName()
- Specified by:
getDeploymentVersionNamein interfaceEnvironmentStatusForDashboard
-
getDeploymentVersionRelatedBranchName
public String getDeploymentVersionRelatedBranchName()
- Specified by:
getDeploymentVersionRelatedBranchNamein interfaceEnvironmentStatusForDashboard
-
-