public interface TriggerManager
Modifier and Type | Method and Description |
---|---|
PlanTrigger |
getPlanTrigger(String pluginKey) |
TriggerReason |
getTriggerReason(BuildContext buildContext)
Creates a new instance of the
CommonContext.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(String key,
Map<String,String> fieldsMap) |
TriggerReason |
getTriggerReason(String key,
ResultsSummary resultsSummary) |
TriggerReasonRenderer |
getTriggerReasonRenderer(TriggerReason triggerReason) |
TriggerReasonRenderer |
getTriggerReasonRenderer(TriggerReason triggerReason,
CurrentlyBuilding currentlyBuilding) |
TriggerReasonRenderer |
getTriggerReasonRenderer(TriggerReason triggerReason,
ResultsSummary resultsSummary) |
@ExperimentalApi @NotNull PlanTrigger getPlanTrigger(@NotNull String pluginKey) throws IllegalArgumentException
pluginKey
- IllegalArgumentException
- if a PlanTrigger
cannot be found for pluginKey@NotNull TriggerReason getTriggerReason(@NotNull ChainResultsSummary chainResultsSummary, @NotNull BuildResultsSummary buildResultsSummary)
ChainResultsSummary
and BuildResultsSummary
to produce a TriggerReason
for a Job
resultchainResultsSummary
- buildResultsSummary
- @NotNull TriggerReason getTriggerReason(@NotNull BuildContext buildContext)
CommonContext.getTriggerReason()
buildContext
- @NotNull TriggerReason getTriggerReason(@NotNull String key, @NotNull Map<String,String> fieldsMap)
@NotNull TriggerReason getTriggerReason(@NotNull String key, @NotNull ResultsSummary resultsSummary)
@NotNull TriggerReasonRenderer getTriggerReasonRenderer(@NotNull TriggerReason triggerReason, @NotNull ResultsSummary resultsSummary)
@NotNull TriggerReasonRenderer getTriggerReasonRenderer(@NotNull TriggerReason triggerReason, @NotNull CurrentlyBuilding currentlyBuilding)
@NotNull TriggerReasonRenderer getTriggerReasonRenderer(@NotNull TriggerReason triggerReason)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.