Class TriggerSource

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class TriggerSource
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Source repository for a Git trigger. Only required for Git triggers. The referenced repository URL must match the URL of a repository tool integration in the parent toolchain. Obtain the list of integrations from the toolchain API https://cloud.ibm.com/apidocs/toolchain#list-tools.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getType()
      Gets the type.
      TriggerSourceProperties getXProperties()
      Gets the xProperties.
      • Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getType

        public java.lang.String getType()
        Gets the type. The only supported source type is "git", indicating that the source is a git repository.
        Returns:
        the type
      • getXProperties

        public TriggerSourceProperties getXProperties()
        Gets the xProperties. Properties of the source, which define the URL of the repository and a branch or pattern.
        Returns:
        the xProperties