com.atlassian.bamboo.plan
Interface ExecutionRequestResult

All Known Subinterfaces:
BuildRequestResult, ChainExecutionRequestResult, ChainStateCreationRequestResult, EnvironmentTriggeringResult
All Known Implementing Classes:
BuildRequestResultImpl, ChainStateCreationRequestResultImpl, EnvironmentTriggeringResultImpl

@PublicApi
public interface ExecutionRequestResult

Result for PlanExecutionManager requests


Method Summary
 Long getDeploymentResultId()
          The id of the result of the executing Environment
 ErrorCollection getErrors()
          Any errors that occurred during the execution request
 PlanResultKey getPlanResultKey()
          The PlanResultKey of the executing Plan
 

Method Detail

getErrors

@NotNull
ErrorCollection getErrors()
Any errors that occurred during the execution request

Returns:

getPlanResultKey

@Nullable
PlanResultKey getPlanResultKey()
The PlanResultKey of the executing Plan

Returns:
planResultKey or null if request failed
Throws:
UnsupportedOperationException - if execution request came from Environment

getDeploymentResultId

@Nullable
Long getDeploymentResultId()
The id of the result of the executing Environment

Returns:
if or null if request failed
Throws:
UnsupportedOperationException - if execution request came from Plan


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.