Class ConditionHelper
java.lang.Object
com.atlassian.bamboo.plugins.web.conditions.ConditionHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPlanKey
(@NotNull Map<String, Object> context) Retrieve plan result key from Freemarker contextstatic Optional<PlanResultKey>
getPlanResultKey
(@NotNull Map<String, Object> context) Retrieve plan result key from Freemarker contextstatic Optional<ResultsSummary>
getResultSummary
(@NotNull ResultsSummaryManager resultsSummaryManager, @NotNull Map<String, Object> context) Retrieve result summary key from the context and then extract it from DBstatic Optional<ResultsSummary>
getResultSummary
(@NotNull Map<String, Object> context) Retrieve result summary from the context
-
Constructor Details
-
ConditionHelper
public ConditionHelper()
-
-
Method Details
-
getPlanKey
Retrieve plan result key from Freemarker context -
getPlanResultKey
public static Optional<PlanResultKey> getPlanResultKey(@NotNull @NotNull Map<String, Object> context) Retrieve plan result key from Freemarker context -
getResultSummary
public static Optional<ResultsSummary> getResultSummary(@NotNull @NotNull Map<String, Object> context) Retrieve result summary from the context -
getResultSummary
public static Optional<ResultsSummary> getResultSummary(@NotNull @NotNull ResultsSummaryManager resultsSummaryManager, @NotNull @NotNull Map<String, Object> context) Retrieve result summary key from the context and then extract it from DB
-