We've written a plugin that triggers deployment plans programatically. After upgrading from 5.6 to 5.9 it has broken due to a backwards incompatible change in the bamboo api. Previously we used
Deploymentcontext context = deploymentExecutionService.prepareDeploymentContext(environment, version, reason);
deploymentExecutionService.execute(context);
However in 5.9, deploymentExecutionService.execute now takes an environment and an EnvironmentTriggeringAction. I can't figure out how i'm supposed to create an EnvironmentTriggeringAction since it's an interface. i found EnvironmentTriggeringActionFactory, but that's also an interface. I tried wiring it in just like a service, but it doesn't get wired in. I can't find anything else that would let me create an EnvironmentTriggeringAction.
How am i supposed to trigger deploy plans now?
Also, tangentially, why was backwards compatibility broken without warning in the api changelog?