Interface RegistrySourceTrigger.UpdateDefinitionStages.TriggerEventsDefinition
- All Known Subinterfaces:
RegistrySourceTrigger.UpdateDefinition
,RegistrySourceTrigger.UpdateDefinitionStages.SourceTriggerAttachable
- Enclosing interface:
- RegistrySourceTrigger.UpdateDefinitionStages
public static interface RegistrySourceTrigger.UpdateDefinitionStages.TriggerEventsDefinition
The stage of the container registry source trigger definition 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.UpdateDefinitionStages.SourceTriggerAttachable 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.UpdateDefinitionStages.SourceTriggerAttachable withPullTriggerEvent()The function that specifies a pull action will trigger a run.- Returns:
- the next stage of the container registry source trigger definition.
-
withTriggerEvent
RegistrySourceTrigger.UpdateDefinitionStages.SourceTriggerAttachable withTriggerEvent(SourceTriggerEvent sourceTriggerEvent) 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.
-