@PublicApi public class BuildContextHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BUILD_WORKING_DIRECTORY |
static String |
BUILD_WORKING_DIRECTORY_OLD
Deprecated.
since 5.1
|
Modifier and Type | Method and Description |
---|---|
static void |
applyBuildDefinitionOverrides(Map<String,String> completeConfiguration,
BuildDefinition buildDefinition) |
static Map<String,String> |
getArtifactHandlerConfiguration(CommonContext context) |
static File |
getBuildWorkingDirectory(BuildContext buildContext)
Deprecated.
Since 5.0 use
getBuildWorkingDirectory(CommonContext) instead |
static File |
getBuildWorkingDirectory(CommonContext buildContext) |
static PlanRepositoryDefinition |
getDefaultPlanRepositoryDefinition(BuildContext buildContext) |
static RepositoryDefinition |
getDefaultRepositoryDefinition(BuildContext buildContext)
Deprecated.
since 5.14 use
getDefaultPlanRepositoryDefinition(BuildContext) |
static BuildContext |
getTopLevelBuildContext(BuildContext initialBuildContext) |
static void |
rewire(BuildContext buildContext) |
public static final String BUILD_WORKING_DIRECTORY
@Deprecated public static final String BUILD_WORKING_DIRECTORY_OLD
public static void rewire(BuildContext buildContext)
@Deprecated @Nullable public static RepositoryDefinition getDefaultRepositoryDefinition(BuildContext buildContext)
getDefaultPlanRepositoryDefinition(BuildContext)
@Nullable public static PlanRepositoryDefinition getDefaultPlanRepositoryDefinition(BuildContext buildContext)
public static File getBuildWorkingDirectory(CommonContext buildContext)
@Deprecated public static File getBuildWorkingDirectory(BuildContext buildContext)
getBuildWorkingDirectory(CommonContext)
instead@NotNull public static BuildContext getTopLevelBuildContext(@NotNull BuildContext initialBuildContext)
public static void applyBuildDefinitionOverrides(Map<String,String> completeConfiguration, BuildDefinition buildDefinition)
public static Map<String,String> getArtifactHandlerConfiguration(@NotNull CommonContext context)
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.