Interface RegistrySourceTrigger.UpdateStages.TriggerEventsDefinition
- All Known Subinterfaces:
RegistrySourceTrigger.Update
- Enclosing interface:
- RegistrySourceTrigger.UpdateStages
public static interface RegistrySourceTrigger.UpdateStages.TriggerEventsDefinition
The stage of the container registry source trigger update allowing to specify the type of actions that will trigger a run.
-
Method Summary
Modifier and TypeMethodDescriptionThe function that specifies a commit action will trigger a run.The function that specifies a pull action will trigger a run.withTriggerEvent
(SourceTriggerEvent sourceTriggerEvent) The function that allows the user to specify an action that will trigger a run when it is executed.
-
Method Details
-
withCommitTriggerEvent
RegistrySourceTrigger.Update withCommitTriggerEvent()The function that specifies a commit action will trigger a run.- Returns:
- the next stage of the container registry source trigger definition.
-
withPullTriggerEvent
RegistrySourceTrigger.Update withPullTriggerEvent()The function that specifies a pull action will trigger a run.- Returns:
- the next stage of the container registry source trigger definition.
-
withTriggerEvent
The function that allows the user to specify an action that will trigger a run when it is executed.- Parameters:
sourceTriggerEvent
- the action that will trigger a run.- Returns:
- the next stage of the container registry source trigger definition.
-