Last updated Dec 8, 2017

Bamboo API Changes for Bamboo 4.2

Changes in the API

c.a.b.bandana.BambooBandanaContext

Removed deprecated method

1
2
boolean isGlobal();

c.a.b.bandana.PlanAwareBandanaContext

Constructors deprecated since version 4.0 were removed, use static factory methods instead:

1
2
public static PlanAwareBandanaContext forPlan(@NotNull ImmutablePlan plan);
 
public static PlanAwareBandanaContext forPlugin(long planId, @NotNull Plugin plugin);
 
public static PlanAwareBandanaContext forPlugin(@NotNull BambooBandanaContext parentContext, @NotNull String pluginKey);

c.a.b.build.Buildable

Removed methods deprecated since 4.0

1
2
int getNumberOfConcurrentlyRunningBuilds();


@Nullable
BuildResults getPreviousBuildResults(int buildNumber);
 
@Nullable
BuildResults getNextBuildResults(int buildNumber);

void addBuildResultSummary(BuildResultsSummary buildResultsSummary);


void removeBuildResultSummary(int buildNumber);

@Nullable
BuildResultsSummary getLatestBuildSummary();

List<BuildResultsSummary> getBuildResultSummaries();

BuildResultsSummary getFirstBuildSummary();

boolean hasBuildResults();

Rate this page: