Interface RegistrySourceTrigger

All Superinterfaces:
HasInner<SourceTrigger>

@Beta(V1_17_0) public interface RegistrySourceTrigger extends HasInner<SourceTrigger>
An immutable client-side representation of a Container Registry source trigger.
  • Method Details

    • sourceControlType

      SourceControlType sourceControlType()
      Returns:
      Returns the type of source control this trigger uses. I.e., Github, AzureDevOps etc.
    • sourceControlRepositoryUrl

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

      List<SourceTriggerEvent> sourceTriggerEvents()
      Returns:
      the list of actions that trigger an event. I.e., a commit, a pull request etc.
    • sourceControlBranch

      String sourceControlBranch()
      Returns:
      the branch of the repository that is being used as source control. I.e., master.
    • status

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