Class ResultSummaryHelper
java.lang.Object
com.atlassian.bamboo.resultsummary.ResultSummaryHelper
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
containsSpecsStatusMetadata
(@NotNull ImmutableResultsSummary resultsSummary) getSpecsCustomData
(@NotNull ImmutableVcsLocationBambooSpecsState bambooSpecsState, boolean success) static boolean
isBambooSpecFailure
(@NotNull ImmutableResultsSummary resultsSummary) static boolean
isBambooSpecResult
(@NotNull ImmutableResultsSummary resultsSummary) static boolean
isBambooSpecSuccess
(@NotNull ImmutableResultsSummary resultsSummary) static void
markAsBambooSpecFailure
(@NotNull BuildContextBuilder buildContextBuilder, @NotNull ImmutableVcsLocationBambooSpecsState bambooSpecsState) Mark build context builder as Bamboo Specs execution failure.static void
markAsBambooSpecSuccess
(@NotNull BuildContextBuilder buildContextBuilder, @NotNull ImmutableVcsLocationBambooSpecsState bambooSpecsState) Mark build context builder as Bamboo Specs execution success.static void
updateCancellationDetails
(@NotNull ResultsSummary resultsSummary, @Nullable BuildCancelledDetails buildCancellationDetails)
-
Field Details
-
SPECS_SOURCE_ID
- See Also:
-
SPECS_FAILURE
- See Also:
-
SPECS_SUCCESS
- See Also:
-
-
Method Details
-
updateCancellationDetails
public static void updateCancellationDetails(@NotNull @NotNull ResultsSummary resultsSummary, @Nullable @Nullable BuildCancelledDetails buildCancellationDetails) -
isBambooSpecFailure
- Returns:
- true if given result summary was created on Bamboo Specs execution failure.
-
markAsBambooSpecFailure
public static void markAsBambooSpecFailure(@NotNull @NotNull BuildContextBuilder buildContextBuilder, @NotNull @NotNull ImmutableVcsLocationBambooSpecsState bambooSpecsState) Mark build context builder as Bamboo Specs execution failure. -
getSpecsCustomData
@NotNull public static @NotNull Map<String,String> getSpecsCustomData(@NotNull @NotNull ImmutableVcsLocationBambooSpecsState bambooSpecsState, boolean success) -
markAsBambooSpecSuccess
public static void markAsBambooSpecSuccess(@NotNull @NotNull BuildContextBuilder buildContextBuilder, @NotNull @NotNull ImmutableVcsLocationBambooSpecsState bambooSpecsState) Mark build context builder as Bamboo Specs execution success. -
isBambooSpecSuccess
-
isBambooSpecResult
-
containsSpecsStatusMetadata
public static boolean containsSpecsStatusMetadata(@NotNull @NotNull ImmutableResultsSummary resultsSummary) -
getSpecsKeys
- Returns:
- keys used to mark build result as related to Bamboo Specs
-