RegistrySourceTrigger Interface

Implements

public interface RegistrySourceTrigger
extends HasInnerModel<SourceTrigger>

An immutable client-side representation of a Container Registry source trigger.

Method Summary

Modifier and Type Method and Description
abstract String sourceControlBranch()

Gets the branch of the repository that is being used as source control.

abstract String sourceControlRepositoryUrl()

Gets the URL of the repository used as source control.

abstract SourceControlType sourceControlType()

Gets the type of source control this trigger uses.

abstract List<SourceTriggerEvent> sourceTriggerEvents()

Gets the list of actions that trigger an event.

abstract TriggerStatus status()

Gets the source trigger status.

Method Details

sourceControlBranch

public abstract String sourceControlBranch()

Gets the branch of the repository that is being used as source control.

Returns:

the branch of the repository that is being used as source control. I.e., master.

sourceControlRepositoryUrl

public abstract String sourceControlRepositoryUrl()

Gets the URL of the repository used as source control.

Returns:

the URL of the repository used as source control.

sourceControlType

public abstract SourceControlType sourceControlType()

Gets the type of source control this trigger uses.

Returns:

Returns the type of source control this trigger uses. I.e., Github, AzureDevOps etc.

sourceTriggerEvents

public abstract List sourceTriggerEvents()

Gets the list of actions that trigger an event.

Returns:

the list of actions that trigger an event. I.e., a commit, a pull request etc.

status

public abstract TriggerStatus status()

Gets the source trigger status.

Returns:

the source trigger status. I.e., enabled, disabled.

Applies to