com.atlassian.bamboo.plan.trigger
Interface PlanTrigger

All Superinterfaces:
BambooPluginModule
All Known Implementing Classes:
JIRAReleasePlanTrigger

public interface PlanTrigger
extends BambooPluginModule

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


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

Method Detail

triggerPlan

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

getVariablesForContinuedBuild

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

Returns:


Copyright © 2012 Atlassian. All Rights Reserved.