public class TriggerManagerImpl extends Object implements TriggerManager
Constructor and Description |
---|
TriggerManagerImpl(com.atlassian.plugin.PluginAccessor pluginAccessor) |
Modifier and Type | Method and Description |
---|---|
PlanTrigger |
getPlanTrigger(String completeKey) |
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) |
public TriggerManagerImpl(com.atlassian.plugin.PluginAccessor pluginAccessor)
@NotNull public PlanTrigger getPlanTrigger(@NotNull String completeKey) throws IllegalArgumentException
getPlanTrigger
in interface TriggerManager
IllegalArgumentException
- if a PlanTrigger
cannot be found for pluginKey@NotNull public TriggerReason getTriggerReason(@NotNull ChainResultsSummary chainResultsSummary, @NotNull BuildResultsSummary buildResultsSummary)
TriggerManager
ChainResultsSummary
and BuildResultsSummary
to produce a TriggerReason
for a Job
resultgetTriggerReason
in interface TriggerManager
@NotNull public TriggerReason getTriggerReason(@NotNull BuildContext buildContext)
TriggerManager
CommonContext.getTriggerReason()
getTriggerReason
in interface TriggerManager
@NotNull public TriggerReason getTriggerReason(@NotNull String key, @NotNull Map<String,String> fieldsMap)
getTriggerReason
in interface TriggerManager
@NotNull public TriggerReason getTriggerReason(@NotNull String key, @NotNull ResultsSummary resultsSummary)
getTriggerReason
in interface TriggerManager
@NotNull public TriggerReasonRenderer getTriggerReasonRenderer(@NotNull TriggerReason triggerReason, @NotNull ResultsSummary resultsSummary)
getTriggerReasonRenderer
in interface TriggerManager
@NotNull public TriggerReasonRenderer getTriggerReasonRenderer(@NotNull TriggerReason triggerReason, @NotNull CurrentlyBuilding currentlyBuilding)
getTriggerReasonRenderer
in interface TriggerManager
@NotNull public TriggerReasonRenderer getTriggerReasonRenderer(@NotNull TriggerReason triggerReason)
getTriggerReasonRenderer
in interface TriggerManager
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.