Class Definition
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.continuous_delivery.cd_tekton_pipeline.v2.model.Definition
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Definition 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
-
getHref
public java.lang.String getHref()
Gets the href. API URL for interacting with the definition.- Returns:
- the href
-
getId
public java.lang.String getId()
Gets the id. The aggregated definition ID.- Returns:
- the id
-
-