Class TriggerSourcePropertiesPrototype

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

    public class TriggerSourcePropertiesPrototype
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Properties of the source, which define the URL of the repository and a branch or pattern.
    • Method Detail

      • url

        public java.lang.String url()
        Gets the url. URL of the repository to which the trigger is listening.
        Returns:
        the url
      • branch

        public java.lang.String branch()
        Gets the branch. Name of a branch from the repo. One of branch or pattern must be specified, but only one or the other.
        Returns:
        the branch
      • pattern

        public java.lang.String pattern()
        Gets the pattern. The pattern of Git branch or tag to which to listen. You can specify a glob pattern such as '!test' or '*master' to match against multiple tags/branches in the repository. The glob pattern used must conform to Bash 4.3 specifications, see bash documentation for more info: https://www.gnu.org/software/bash/manual/bash.html#Pattern-Matching. One of branch or pattern must be specified, but only one or the other.
        Returns:
        the pattern