Class ConditionHelper
- java.lang.Object
-
- com.atlassian.bamboo.plugins.web.conditions.ConditionHelper
-
public class ConditionHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description ConditionHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Optional<PlanKey>
getPlanKey(@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
-
-
-
Method Detail
-
getPlanKey
public static Optional<PlanKey> getPlanKey(@NotNull @NotNull Map<String,Object> context)
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
-
-