Class RestDeploymentResult
java.lang.Object
com.atlassian.bamboo.rest.model.deployments.results.RestDeploymentResult
- All Implemented Interfaces:
BambooIdProvider,DeploymentResult,InternalDeploymentResult
- Direct Known Subclasses:
RestDeploymentResultWithLogs
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRestDeploymentResult(@NotNull DeploymentResult deploymentResult, @NotNull jakarta.ws.rs.core.UriBuilder baseUriBuilder) -
Method Summary
Modifier and TypeMethodDescriptiongetAgent()@Nullable AgentType@NotNull BuildState@Nullable DeploymentVersion@NotNull String@NotNull Environmentlong@Nullable Date@Nullable DatelonggetId()@NotNull DeploymentResultKeygetKey()@NotNull LifeCycleStateOperationsobject describing detailed permissions for result@Nullable Date@NotNull String@Nullable Date@NotNull TriggerReason
-
Constructor Details
-
RestDeploymentResult
protected RestDeploymentResult() -
RestDeploymentResult
public RestDeploymentResult(@NotNull @NotNull DeploymentResult deploymentResult, @NotNull @NotNull jakarta.ws.rs.core.UriBuilder baseUriBuilder)
-
-
Method Details
-
getDeploymentVersion
- Specified by:
getDeploymentVersionin interfaceDeploymentResult
-
getDeploymentVersionName
- Specified by:
getDeploymentVersionNamein interfaceInternalDeploymentResult
-
getReasonSummary
- Specified by:
getReasonSummaryin interfaceDeploymentResult
-
getId
public long getId()- Specified by:
getIdin interfaceBambooIdProvider- Specified by:
getIdin interfaceInternalDeploymentResult
-
getDeploymentState
- Specified by:
getDeploymentStatein interfaceInternalDeploymentResult
-
getLifeCycleState
- Specified by:
getLifeCycleStatein interfaceInternalDeploymentResult
-
getStartedDate
- Specified by:
getStartedDatein interfaceInternalDeploymentResult- Returns:
- when deployment result execution initiated, e.g. triggered or manually executed by user. Set with
LifeCycleState.PENDINGstate.
-
getQueuedDate
- Specified by:
getQueuedDatein interfaceInternalDeploymentResult- Returns:
- when deployment result added to queue. Set with
LifeCycleState.QUEUEDstate.
-
getExecutedDate
- Specified by:
getExecutedDatein interfaceInternalDeploymentResult- Returns:
- when deployment result sent to agent for execution. Set with
LifeCycleState.IN_PROGRESSstate.
-
getFinishedDate
- Specified by:
getFinishedDatein interfaceInternalDeploymentResult- Returns:
- when deployment result execution was finished. Set with
LifeCycleState.FINAL_STATESstates.
-
getKey
- Specified by:
getKeyin interfaceDeploymentResult
-
getAgent
- Specified by:
getAgentin interfaceDeploymentResult
-
getAgentId
- Specified by:
getAgentIdin interfaceInternalDeploymentResult
-
getAgentType
- Specified by:
getAgentTypein interfaceInternalDeploymentResult
-
getTriggerReason
- Specified by:
getTriggerReasonin interfaceInternalDeploymentResult
-
getEnvironment
- Specified by:
getEnvironmentin interfaceDeploymentResult
-
getEnvironmentId
public long getEnvironmentId()- Specified by:
getEnvironmentIdin interfaceInternalDeploymentResult
-
getCustomData
- Specified by:
getCustomDatain interfaceDeploymentResult
-
getOperations
Description copied from interface:DeploymentResultOperationsobject describing detailed permissions for result- Specified by:
getOperationsin interfaceDeploymentResult- Returns:
-