Interface InternalDeploymentResult
-
- All Superinterfaces:
BambooIdProvider
- All Known Subinterfaces:
DeploymentResult
,MutableDeploymentResult
- All Known Implementing Classes:
DeploymentResultImpl
,MutableDeploymentResultImpl
,RestDeploymentResult
,RestDeploymentResultWithLogs
public interface InternalDeploymentResult extends BambooIdProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Long
getAgentId()
@Nullable AgentType
getAgentType()
@NotNull BuildState
getDeploymentState()
@NotNull String
getDeploymentVersionName()
long
getEnvironmentId()
@Nullable Date
getExecutedDate()
@Nullable Date
getFinishedDate()
long
getId()
@NotNull LifeCycleState
getLifeCycleState()
@Nullable Date
getQueuedDate()
@Nullable Date
getStartedDate()
@NotNull TriggerReason
getTriggerReason()
-
-
-
Method Detail
-
getId
long getId()
- Specified by:
getId
in interfaceBambooIdProvider
-
getDeploymentVersionName
@NotNull @NotNull String getDeploymentVersionName()
-
getDeploymentState
@NotNull @NotNull BuildState getDeploymentState()
-
getLifeCycleState
@NotNull @NotNull LifeCycleState getLifeCycleState()
-
getStartedDate
@Nullable @Nullable Date getStartedDate()
- Returns:
- when deployment result execution initiated, e.g. triggered or manually executed by user. Set with
LifeCycleState.PENDING
state.
-
getQueuedDate
@Nullable @Nullable Date getQueuedDate()
- Returns:
- when deployment result added to queue. Set with
LifeCycleState.QUEUED
state.
-
getExecutedDate
@Nullable @Nullable Date getExecutedDate()
- Returns:
- when deployment result sent to agent for execution. Set with
LifeCycleState.IN_PROGRESS
state.
-
getFinishedDate
@Nullable @Nullable Date getFinishedDate()
- Returns:
- when deployment result execution was finished. Set with
LifeCycleState.FINAL_STATES
states.
-
getAgentId
Long getAgentId()
-
getAgentType
@Nullable @Nullable AgentType getAgentType()
-
getEnvironmentId
long getEnvironmentId()
-
getTriggerReason
@NotNull @NotNull TriggerReason getTriggerReason()
-
-