Class DefinitionSourceProperties

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

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

      • url

        public java.lang.String url()
        Gets the url. URL of the definition repository.
        Returns:
        the url
      • branch

        public java.lang.String branch()
        Gets the branch. A branch from the repo, specify one of branch or tag only.
        Returns:
        the branch
      • tag

        public java.lang.String tag()
        Gets the tag. A tag from the repo, specify one of branch or tag only.
        Returns:
        the tag
      • path

        public java.lang.String path()
        Gets the path. The path to the definition's YAML files.
        Returns:
        the path
      • tool

        public Tool tool()
        Gets the tool. Reference to the repository tool in the parent toolchain.
        Returns:
        the tool