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