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
ModifierConstructorDescriptionprotected
RestDeploymentResult
(@NotNull DeploymentResult deploymentResult, @NotNull javax.ws.rs.core.UriBuilder baseUriBuilder) -
Method Summary
Modifier and TypeMethodDescriptiongetAgent()
@Nullable AgentType
@NotNull BuildState
@Nullable DeploymentVersion
@NotNull String
@NotNull Environment
long
@Nullable Date
@Nullable Date
long
getId()
@NotNull DeploymentResultKey
getKey()
@NotNull LifeCycleState
Operations
object 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 javax.ws.rs.core.UriBuilder baseUriBuilder)
-
-
Method Details
-
getDeploymentVersion
- Specified by:
getDeploymentVersion
in interfaceDeploymentResult
-
getDeploymentVersionName
- Specified by:
getDeploymentVersionName
in interfaceInternalDeploymentResult
-
getReasonSummary
- Specified by:
getReasonSummary
in interfaceDeploymentResult
-
getId
public long getId()- Specified by:
getId
in interfaceBambooIdProvider
- Specified by:
getId
in interfaceInternalDeploymentResult
-
getDeploymentState
- Specified by:
getDeploymentState
in interfaceInternalDeploymentResult
-
getLifeCycleState
- Specified by:
getLifeCycleState
in interfaceInternalDeploymentResult
-
getStartedDate
- Specified by:
getStartedDate
in interfaceInternalDeploymentResult
- Returns:
- when deployment result execution initiated, e.g. triggered or manually executed by user. Set with
LifeCycleState.PENDING
state.
-
getQueuedDate
- Specified by:
getQueuedDate
in interfaceInternalDeploymentResult
- Returns:
- when deployment result added to queue. Set with
LifeCycleState.QUEUED
state.
-
getExecutedDate
- Specified by:
getExecutedDate
in interfaceInternalDeploymentResult
- Returns:
- when deployment result sent to agent for execution. Set with
LifeCycleState.IN_PROGRESS
state.
-
getFinishedDate
- Specified by:
getFinishedDate
in interfaceInternalDeploymentResult
- Returns:
- when deployment result execution was finished. Set with
LifeCycleState.FINAL_STATES
states.
-
getKey
- Specified by:
getKey
in interfaceDeploymentResult
-
getAgent
- Specified by:
getAgent
in interfaceDeploymentResult
-
getAgentId
- Specified by:
getAgentId
in interfaceInternalDeploymentResult
-
getAgentType
- Specified by:
getAgentType
in interfaceInternalDeploymentResult
-
getTriggerReason
- Specified by:
getTriggerReason
in interfaceInternalDeploymentResult
-
getEnvironment
- Specified by:
getEnvironment
in interfaceDeploymentResult
-
getEnvironmentId
public long getEnvironmentId()- Specified by:
getEnvironmentId
in interfaceInternalDeploymentResult
-
getCustomData
- Specified by:
getCustomData
in interfaceDeploymentResult
-
getOperations
Description copied from interface:DeploymentResult
Operations
object describing detailed permissions for result- Specified by:
getOperations
in interfaceDeploymentResult
- Returns:
-