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 LonggetAverageDuration(@NotNull PlanResultKey planResultKey) @Nullable BuildContextgetBuildContext(@NotNull PlanResultKey planResultKey) Lookup aBuildContextof a Job by itsPlanResultKey@Nullable ChainResultsSummary@NotNull ErrorCollectionErrors that occurred when creating theChainResultsSummary
-
Method Details
-
getChainResultsSummary
- Returns:
- created
ChainResultsSummaryor null if creation failed
-
getBuildContext
Lookup aBuildContextof a Job by itsPlanResultKey- Parameters:
planResultKey-- Returns:
- buildContext
-
getAverageDuration
- Parameters:
planResultKey-- Returns:
- averageDuration
-
getErrors
Errors that occurred when creating theChainResultsSummary- Returns:
-