Class TriggerSourcePrototype
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.continuous_delivery.cd_tekton_pipeline.v2.model.TriggerSourcePrototype
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class TriggerSourcePrototype 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTriggerSourcePrototype.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TriggerSourcePrototype.BuildernewBuilder()New builder.java.lang.Stringtype()Gets the type.TriggerSourcePropertiesPrototypexProperties()Gets the xProperties.
-
-
-
Method Detail
-
newBuilder
public TriggerSourcePrototype.Builder newBuilder()
New builder.- Returns:
- a TriggerSourcePrototype builder
-
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 TriggerSourcePropertiesPrototype xProperties()
Gets the xProperties. Properties of the source, which define the URL of the repository and a branch or pattern.- Returns:
- the xProperties
-
-