Changes for Bamboo 4.2

Changes in the API

c.a.b.bandana.BambooBandanaContext

Removed deprecated method

boolean isGlobal();

c.a.b.bandana.PlanAwareBandanaContext

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

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

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();
Was this page helpful?

Have a question about this article?

See questions about this article

Powered by Confluence and Scroll Viewport