Partilhar via


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()
abstract String sourceControlRepositoryUrl()
abstract SourceControlType sourceControlType()
abstract List<SourceTriggerEvent> sourceTriggerEvents()
abstract TriggerStatus status()

Method Details

sourceControlBranch

public abstract String sourceControlBranch()

Returns:

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

sourceControlRepositoryUrl

public abstract String sourceControlRepositoryUrl()

Returns:

the URL of the repository used as source control.

sourceControlType

public abstract SourceControlType sourceControlType()

Returns:

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

sourceTriggerEvents

public abstract List sourceTriggerEvents()

Returns:

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

status

public abstract TriggerStatus status()

Returns:

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

Applies to