Class DefinitionsCollectionDefinitionsItem
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.continuous_delivery.cd_tekton_pipeline.v2.model.DefinitionsCollectionDefinitionsItem
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class DefinitionsCollectionDefinitionsItem extends com.ibm.cloud.sdk.core.service.model.GenericModelTekton 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.StringgetHref()Gets the href.java.lang.StringgetId()Gets the id.DefinitionSourcegetSource()Gets the source.
-
-
-
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
-
-