com.atlassian.bamboo.plan.trigger
Interface PlanTrigger

All Superinterfaces:
BambooPluginModule
All Known Implementing Classes:
JIRAReleasePlanTrigger

@ExperimentalApi
public interface PlanTrigger
extends BambooPluginModule

When paired with a TriggerReason gives the implementer control over how the Plan is triggered.


Method Summary
 Map<String,String> getVariablesForContinuedBuild(TriggerReason triggerReason)
          Return plugin specific variables for continued builds
 PlanTriggerResult triggerPlan(TriggerReason triggerReason, PlanResultKey planResultKey, Map<String,String> params, Map<String,String> customVariables, PlanVcsRevisionDataSet lastVcsRevisionKeys)
           
 

Method Detail

triggerPlan

@NotNull
PlanTriggerResult triggerPlan(@NotNull
                                      TriggerReason triggerReason,
                                      @NotNull
                                      PlanResultKey planResultKey,
                                      @NotNull
                                      Map<String,String> params,
                                      @NotNull
                                      Map<String,String> customVariables,
                                      @Nullable
                                      PlanVcsRevisionDataSet lastVcsRevisionKeys)

getVariablesForContinuedBuild

@NotNull
Map<String,String> getVariablesForContinuedBuild(@NotNull
                                                         TriggerReason triggerReason)
Return plugin specific variables for continued builds

Returns:


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.