Class TriggerSource
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.continuous_delivery.cd_tekton_pipeline.v2.model.TriggerSource
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class TriggerSource extends com.ibm.cloud.sdk.core.service.model.GenericModelSource repository for a Git trigger. Only required for Git triggers. 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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetType()Gets the type.TriggerSourcePropertiesgetXProperties()Gets the xProperties.
-
-
-
Method Detail
-
getType
public java.lang.String getType()
Gets the type. The only supported source type is "git", indicating that the source is a git repository.- Returns:
- the type
-
getXProperties
public TriggerSourceProperties getXProperties()
Gets the xProperties. Properties of the source, which define the URL of the repository and a branch or pattern.- Returns:
- the xProperties
-
-