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 of
EnvironmentStatusForDashboard
that can be fetched in a single query.
To be used where we only need status but don't need full data from DeploymentResultDto
or MutableDeploymentResult
-
Constructor Summary
ConstructorDescriptionEnvironmentStatusForDashboardImpl
(long environmentId, Long deploymentResultId, LifeCycleState lifeCycleState, BuildState deploymentState, Date startedDate, Date queuedDate, Date executedDate, Date finishedDate, Long deploymentVersionId, String deploymentVersionName, String deploymentVersionRelatedBranchName) -
Method Summary
Modifier and TypeMethodDescriptionlong
-
Constructor Details
-
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 Details
-
getEnvironmentId
public long getEnvironmentId()- Specified by:
getEnvironmentId
in interfaceEnvironmentStatusForDashboard
-
getDeploymentResultId
- Specified by:
getDeploymentResultId
in interfaceEnvironmentStatusForDashboard
-
getLifeCycleState
- Specified by:
getLifeCycleState
in interfaceEnvironmentStatusForDashboard
-
getDeploymentState
- Specified by:
getDeploymentState
in interfaceEnvironmentStatusForDashboard
-
getStartedDate
- Specified by:
getStartedDate
in interfaceEnvironmentStatusForDashboard
-
getQueuedDate
- Specified by:
getQueuedDate
in interfaceEnvironmentStatusForDashboard
-
getExecutedDate
- Specified by:
getExecutedDate
in interfaceEnvironmentStatusForDashboard
-
getFinishedDate
- Specified by:
getFinishedDate
in interfaceEnvironmentStatusForDashboard
-
getDeploymentVersionId
- Specified by:
getDeploymentVersionId
in interfaceEnvironmentStatusForDashboard
-
getDeploymentVersionName
- Specified by:
getDeploymentVersionName
in interfaceEnvironmentStatusForDashboard
-
getDeploymentVersionRelatedBranchName
- Specified by:
getDeploymentVersionRelatedBranchName
in interfaceEnvironmentStatusForDashboard
-