Class DefinitionSource

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

    public class DefinitionSource
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Source repository containing the Tekton pipeline definition.
    • Method Detail

      • type

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

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