RegistrySourceTrigger.DefinitionStages.TriggerEventsDefinition Interface

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 Type Method and Description
abstract SourceTriggerAttachable withCommitTriggerEvent()

The function that specifies a commit action will trigger a run.

abstract SourceTriggerAttachable withPullTriggerEvent()

The function that specifies a pull action will trigger a run.

abstract SourceTriggerAttachable 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

public abstract 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

public abstract 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

public abstract 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.

Applies to