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 LonggetAgentId()@Nullable AgentTypegetAgentType()@NotNull BuildStategetDeploymentState()@NotNull StringgetDeploymentVersionName()longgetEnvironmentId()@Nullable DategetExecutedDate()@Nullable DategetFinishedDate()longgetId()@NotNull LifeCycleStategetLifeCycleState()@Nullable DategetQueuedDate()@Nullable DategetStartedDate()@NotNull TriggerReasongetTriggerReason()
-
-
-
Method Detail
-
getId
long getId()
- Specified by:
getIdin 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.PENDINGstate.
-
getQueuedDate
@Nullable @Nullable Date getQueuedDate()
- Returns:
- when deployment result added to queue. Set with
LifeCycleState.QUEUEDstate.
-
getExecutedDate
@Nullable @Nullable Date getExecutedDate()
- Returns:
- when deployment result sent to agent for execution. Set with
LifeCycleState.IN_PROGRESSstate.
-
getFinishedDate
@Nullable @Nullable Date getFinishedDate()
- Returns:
- when deployment result execution was finished. Set with
LifeCycleState.FINAL_STATESstates.
-
getAgentId
Long getAgentId()
-
getAgentType
@Nullable @Nullable AgentType getAgentType()
-
getEnvironmentId
long getEnvironmentId()
-
getTriggerReason
@NotNull @NotNull TriggerReason getTriggerReason()
-
-