Class DefinitionsCollectionDefinitionsItem

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

    public class DefinitionsCollectionDefinitionsItem
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Tekton pipeline definition entry object, consisting of a repository url, a repository path and a branch or tag. 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. The branch or tag of the definition must match against a corresponding branch or tag in the chosen repository, and the path must match a subfolder in the repository.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getHref()
      Gets the href.
      java.lang.String getId()
      Gets the id.
      DefinitionSource getSource()
      Gets the source.
      • 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

      • getSource

        public DefinitionSource getSource()
        Gets the source. Source repository containing the Tekton pipeline definition.
        Returns:
        the source
      • getId

        public java.lang.String getId()
        Gets the id. UUID.
        Returns:
        the id
      • getHref

        public java.lang.String getHref()
        Gets the href. URL of the definition repository.
        Returns:
        the href