Interface RegistrySourceTrigger

All Superinterfaces:
HasInnerModel<SourceTrigger>

public interface RegistrySourceTrigger extends HasInnerModel<SourceTrigger>
An immutable client-side representation of a Container Registry source trigger.
  • Method Details

    • sourceControlType

      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.
    • sourceControlRepositoryUrl

      String sourceControlRepositoryUrl()
      Gets the URL of the repository used as source control.
      Returns:
      the URL of the repository used as source control.
    • sourceTriggerEvents

      List<SourceTriggerEvent> 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.
    • sourceControlBranch

      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.
    • status

      TriggerStatus status()
      Gets the source trigger status.
      Returns:
      the source trigger status. I.e., enabled, disabled.