@Internal public class EnvironmentStatusForDashboardImpl extends Object implements EnvironmentStatusForDashboard
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 and Description |
|---|
EnvironmentStatusForDashboardImpl(long environmentId,
Long deploymentResultId,
LifeCycleState lifeCycleState,
BuildState deploymentState,
Date startedDate,
Date queuedDate,
Date executedDate,
Date finishedDate,
Long deploymentVersionId,
String deploymentVersionName,
String deploymentVersionRelatedBranchName) |
| Modifier and Type | Method and Description |
|---|---|
Long |
getDeploymentResultId() |
BuildState |
getDeploymentState() |
Long |
getDeploymentVersionId() |
String |
getDeploymentVersionName() |
String |
getDeploymentVersionRelatedBranchName() |
long |
getEnvironmentId() |
Date |
getExecutedDate() |
Date |
getFinishedDate() |
LifeCycleState |
getLifeCycleState() |
Date |
getQueuedDate() |
Date |
getStartedDate() |
public EnvironmentStatusForDashboardImpl(long environmentId,
Long deploymentResultId,
LifeCycleState lifeCycleState,
BuildState deploymentState,
Date startedDate,
Date queuedDate,
Date executedDate,
Date finishedDate,
Long deploymentVersionId,
String deploymentVersionName,
String deploymentVersionRelatedBranchName)
public long getEnvironmentId()
getEnvironmentId in interface EnvironmentStatusForDashboardpublic Long getDeploymentResultId()
getDeploymentResultId in interface EnvironmentStatusForDashboardpublic LifeCycleState getLifeCycleState()
getLifeCycleState in interface EnvironmentStatusForDashboardpublic BuildState getDeploymentState()
getDeploymentState in interface EnvironmentStatusForDashboardpublic Date getStartedDate()
getStartedDate in interface EnvironmentStatusForDashboardpublic Date getQueuedDate()
getQueuedDate in interface EnvironmentStatusForDashboardpublic Date getExecutedDate()
getExecutedDate in interface EnvironmentStatusForDashboardpublic Date getFinishedDate()
getFinishedDate in interface EnvironmentStatusForDashboardpublic Long getDeploymentVersionId()
getDeploymentVersionId in interface EnvironmentStatusForDashboardpublic String getDeploymentVersionName()
getDeploymentVersionName in interface EnvironmentStatusForDashboardpublic String getDeploymentVersionRelatedBranchName()
getDeploymentVersionRelatedBranchName in interface EnvironmentStatusForDashboardCopyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.