Package com.atlassian.bamboo.chains
Interface ChainStateResult
@Internal
public interface ChainStateResult
Result holder for
ChainResultManager.create(BuildContext, Map, Collection)
-
Method Summary
Modifier and TypeMethodDescription@Nullable Long
getAverageDuration
(@NotNull PlanResultKey planResultKey) @Nullable BuildContext
getBuildContext
(@NotNull PlanResultKey planResultKey) Lookup aBuildContext
of a Job by itsPlanResultKey
@Nullable ChainResultsSummary
@NotNull ErrorCollection
Errors that occurred when creating theChainResultsSummary
-
Method Details
-
getChainResultsSummary
- Returns:
- created
ChainResultsSummary
or null if creation failed
-
getBuildContext
Lookup aBuildContext
of a Job by itsPlanResultKey
- Parameters:
planResultKey
-- Returns:
- buildContext
-
getAverageDuration
- Parameters:
planResultKey
-- Returns:
- averageDuration
-
getErrors
Errors that occurred when creating theChainResultsSummary
- Returns:
-