Package com.atlassian.bamboo.v2.build
Class BuildContextHelper
- java.lang.Object
-
- com.atlassian.bamboo.v2.build.BuildContextHelper
-
@PublicApi public class BuildContextHelper extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
BUILD_WORKING_DIRECTORY
static String
BUILD_WORKING_DIRECTORY_OLD
Deprecated.since 5.1
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
applyBuildDefinitionOverrides(Map<String,String> completeConfiguration, BuildDefinition buildDefinition)
static Map<String,String>
getArtifactHandlerConfiguration(@NotNull CommonContext context)
static File
getBuildWorkingDirectory(BuildContext buildContext)
Deprecated.Since 5.0 usegetBuildWorkingDirectory(CommonContext)
insteadstatic File
getBuildWorkingDirectory(CommonContext buildContext)
static @Nullable PlanRepositoryDefinition
getDefaultPlanRepositoryDefinition(BuildContext buildContext)
static @NotNull BuildContext
getTopLevelBuildContext(@NotNull BuildContext initialBuildContext)
static void
rewire(BuildContext buildContext)
-
-
-
Field Detail
-
BUILD_WORKING_DIRECTORY
public static final String BUILD_WORKING_DIRECTORY
- See Also:
- Constant Field Values
-
BUILD_WORKING_DIRECTORY_OLD
@Deprecated public static final String BUILD_WORKING_DIRECTORY_OLD
Deprecated.since 5.1- See Also:
- Constant Field Values
-
-
Method Detail
-
rewire
public static void rewire(BuildContext buildContext)
-
getDefaultPlanRepositoryDefinition
@Nullable public static @Nullable PlanRepositoryDefinition getDefaultPlanRepositoryDefinition(BuildContext buildContext)
-
getBuildWorkingDirectory
public static File getBuildWorkingDirectory(CommonContext buildContext)
-
getBuildWorkingDirectory
@Deprecated public static File getBuildWorkingDirectory(BuildContext buildContext)
Deprecated.Since 5.0 usegetBuildWorkingDirectory(CommonContext)
instead
-
getTopLevelBuildContext
@NotNull public static @NotNull BuildContext getTopLevelBuildContext(@NotNull @NotNull BuildContext initialBuildContext)
-
applyBuildDefinitionOverrides
public static void applyBuildDefinitionOverrides(Map<String,String> completeConfiguration, BuildDefinition buildDefinition)
-
getArtifactHandlerConfiguration
public static Map<String,String> getArtifactHandlerConfiguration(@NotNull @NotNull CommonContext context)
-
-