com.atlassian.bamboo.plan.trigger
Interface TriggerManager

All Known Implementing Classes:
TriggerManagerImpl

public interface TriggerManager


Method Summary
 PlanTrigger getPlanTrigger(java.lang.String pluginKey)
           
 TriggerReason getTriggerReason(BuildContext buildContext)
          Creates a new instance of the BuildContext.getTriggerReason()
 TriggerReason getTriggerReason(ChainResultsSummary chainResultsSummary, BuildResultsSummary buildResultsSummary)
          Combines the data from the given ChainResultsSummary and BuildResultsSummary to produce a TriggerReason for a Job result
 TriggerReason getTriggerReason(java.lang.String key, BuildChanges buildChanges, java.util.Map<java.lang.String,java.lang.String> fieldsMap)
           
 TriggerReason getTriggerReason(java.lang.String key, java.util.Map<java.lang.String,java.lang.String> fieldsMap)
           
 TriggerReason getTriggerReason(java.lang.String key, ResultsSummary resultsSummary)
           
 TriggerReasonRenderer getTriggerReasonRenderer(TriggerReason triggerReason, CurrentlyBuilding currentlyBuilding)
           
 TriggerReasonRenderer getTriggerReasonRenderer(TriggerReason triggerReason, ResultsSummary resultsSummary)
           
 

Method Detail

getPlanTrigger

@NotNull
PlanTrigger getPlanTrigger(@NotNull
                                   java.lang.String pluginKey)
                           throws java.lang.IllegalArgumentException
Parameters:
pluginKey -
Returns:
planTrigger
Throws:
java.lang.IllegalArgumentException - if a PlanTrigger cannot be found for pluginKey

getTriggerReason

@NotNull
TriggerReason getTriggerReason(@NotNull
                                       ChainResultsSummary chainResultsSummary,
                                       @NotNull
                                       BuildResultsSummary buildResultsSummary)
Combines the data from the given ChainResultsSummary and BuildResultsSummary to produce a TriggerReason for a Job result

Parameters:
chainResultsSummary -
buildResultsSummary -
Returns:
triggerReason

getTriggerReason

@NotNull
TriggerReason getTriggerReason(@NotNull
                                       BuildContext buildContext)
Creates a new instance of the BuildContext.getTriggerReason()

Parameters:
buildContext -
Returns:
triggerReason

getTriggerReason

@NotNull
TriggerReason getTriggerReason(@NotNull
                                       java.lang.String key,
                                       @NotNull
                                       BuildChanges buildChanges,
                                       @NotNull
                                       java.util.Map<java.lang.String,java.lang.String> fieldsMap)

getTriggerReason

@NotNull
TriggerReason getTriggerReason(@NotNull
                                       java.lang.String key,
                                       @NotNull
                                       java.util.Map<java.lang.String,java.lang.String> fieldsMap)

getTriggerReason

@NotNull
TriggerReason getTriggerReason(@NotNull
                                       java.lang.String key,
                                       @NotNull
                                       ResultsSummary resultsSummary)

getTriggerReasonRenderer

@NotNull
TriggerReasonRenderer getTriggerReasonRenderer(@NotNull
                                                       TriggerReason triggerReason,
                                                       @NotNull
                                                       ResultsSummary resultsSummary)

getTriggerReasonRenderer

@NotNull
TriggerReasonRenderer getTriggerReasonRenderer(@NotNull
                                                       TriggerReason triggerReason,
                                                       @NotNull
                                                       CurrentlyBuilding currentlyBuilding)


Copyright © 2011 Atlassian. All Rights Reserved.