Interface TriggerManager
- All Known Implementing Classes:
TriggerManagerImpl
public interface TriggerManager
-
Method Summary
Modifier and TypeMethodDescription@NotNull PlanTrigger
getPlanTrigger
(@NotNull String pluginKey) @NotNull TriggerReason
getTriggerReason
(@NotNull ChainResultsSummary chainResultsSummary, @NotNull BuildResultsSummary buildResultsSummary) Combines the data from the givenChainResultsSummary
andBuildResultsSummary
to produce aTriggerReason
for aJob
result@NotNull TriggerReason
getTriggerReason
(@NotNull BuildContext buildContext) Creates a new instance of theCommonContext.getTriggerReason()
@NotNull TriggerReason
getTriggerReason
(@NotNull String key, @NotNull ResultsSummary resultsSummary) @NotNull TriggerReason
getTriggerReason
(@NotNull String key, @NotNull Map<String, String> fieldsMap) @NotNull TriggerReasonRenderer
getTriggerReasonRenderer
(@NotNull TriggerReason triggerReason) @NotNull TriggerReasonRenderer
getTriggerReasonRenderer
(@NotNull TriggerReason triggerReason, @NotNull ResultsSummary resultsSummary) @NotNull TriggerReasonRenderer
getTriggerReasonRenderer
(@NotNull TriggerReason triggerReason, @NotNull CurrentlyBuilding currentlyBuilding)
-
Method Details
-
getPlanTrigger
@ExperimentalApi @NotNull @NotNull PlanTrigger getPlanTrigger(@NotNull @NotNull String pluginKey) throws IllegalArgumentException - Parameters:
pluginKey
-- Returns:
- planTrigger
- Throws:
IllegalArgumentException
- if aPlanTrigger
cannot be found for pluginKey
-
getTriggerReason
@NotNull @NotNull TriggerReason getTriggerReason(@NotNull @NotNull ChainResultsSummary chainResultsSummary, @NotNull @NotNull BuildResultsSummary buildResultsSummary) Combines the data from the givenChainResultsSummary
andBuildResultsSummary
to produce aTriggerReason
for aJob
result- Parameters:
chainResultsSummary
-buildResultsSummary
-- Returns:
- triggerReason
-
getTriggerReason
Creates a new instance of theCommonContext.getTriggerReason()
- Parameters:
buildContext
-- Returns:
- triggerReason
-
getTriggerReason
@NotNull @NotNull TriggerReason getTriggerReason(@NotNull @NotNull String key, @NotNull @NotNull Map<String, String> fieldsMap) -
getTriggerReason
@NotNull @NotNull TriggerReason getTriggerReason(@NotNull @NotNull String key, @NotNull @NotNull ResultsSummary resultsSummary) -
getTriggerReasonRenderer
@NotNull @NotNull TriggerReasonRenderer getTriggerReasonRenderer(@NotNull @NotNull TriggerReason triggerReason, @NotNull @NotNull ResultsSummary resultsSummary) -
getTriggerReasonRenderer
@NotNull @NotNull TriggerReasonRenderer getTriggerReasonRenderer(@NotNull @NotNull TriggerReason triggerReason, @NotNull @NotNull CurrentlyBuilding currentlyBuilding) -
getTriggerReasonRenderer
@NotNull @NotNull TriggerReasonRenderer getTriggerReasonRenderer(@NotNull @NotNull TriggerReason triggerReason) - Since:
- 5.0
-