public class TaskContextHelper extends Object
Modifier and Type | Method and Description |
---|---|
static void |
failIfDockerPipelinesEnabled(CommonContext commonContext) |
static ImmutablePlan |
getPlan(Map<String,Object> context) |
static ImmutablePlan |
getRelatedPlan(Map<String,Object> context) |
static boolean |
isDeploymentMode(Map<String,Object> context) |
static void |
setDeploymentMode(Map<String,Object> context,
boolean value) |
static void |
setPlan(Map<String,Object> context,
ImmutablePlan plan) |
static void |
setRelatedPlan(Map<String,Object> context,
ImmutablePlan plan) |
@Nullable public static ImmutablePlan getPlan(@NotNull Map<String,Object> context)
public static void setPlan(@NotNull Map<String,Object> context, @NotNull ImmutablePlan plan)
public static void setDeploymentMode(@NotNull Map<String,Object> context, boolean value)
public static ImmutablePlan getRelatedPlan(@NotNull Map<String,Object> context)
public static void setRelatedPlan(@NotNull Map<String,Object> context, @NotNull ImmutablePlan plan)
public static void failIfDockerPipelinesEnabled(CommonContext commonContext) throws TaskException
TaskException
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.