Interface RegistrySourceTrigger.DefinitionStages.TriggerEventsDefinition
- All Known Subinterfaces:
RegistrySourceTrigger.Definition
,RegistrySourceTrigger.DefinitionStages.SourceTriggerAttachable
- Enclosing interface:
- RegistrySourceTrigger.DefinitionStages
public static interface RegistrySourceTrigger.DefinitionStages.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.DefinitionStages.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.DefinitionStages.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.DefinitionStages.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.
-