RegistrySourceTrigger.DefinitionStages.TriggerStatusDefinition Interface

public static interface RegistrySourceTrigger.DefinitionStages.TriggerStatusDefinition

The stage of the container registry source trigger definition allowing to specify the status of the trigger.

Method Summary

Modifier and Type Method and Description
abstract SourceTriggerAttachable withTriggerStatus(TriggerStatus triggerStatus)

The function that allows the user to input the state of the trigger status.

abstract SourceTriggerAttachable withTriggerStatusDisabled()

The function that sets the trigger status to be disabled.

abstract SourceTriggerAttachable withTriggerStatusEnabled()

The function that sets the trigger status to be enabled.

Method Details

withTriggerStatus

public abstract RegistrySourceTrigger.DefinitionStages.SourceTriggerAttachable withTriggerStatus(TriggerStatus triggerStatus)

The function that allows the user to input the state of the trigger status.

Parameters:

triggerStatus - the user's choice for the trigger status.

Returns:

the next stage of the container registry source trigger definition.

withTriggerStatusDisabled

public abstract RegistrySourceTrigger.DefinitionStages.SourceTriggerAttachable withTriggerStatusDisabled()

The function that sets the trigger status to be disabled.

Returns:

the next stage of the container registry source trigger definition.

withTriggerStatusEnabled

public abstract RegistrySourceTrigger.DefinitionStages.SourceTriggerAttachable withTriggerStatusEnabled()

The function that sets the trigger status to be enabled.

Returns:

the next stage of the container registry source trigger definition.

Applies to