Class TriggerSourceProperties
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.continuous_delivery.cd_tekton_pipeline.v2.model.TriggerSourceProperties
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class TriggerSourceProperties extends com.ibm.cloud.sdk.core.service.model.GenericModelProperties of the source, which define the URL of the repository and a branch or pattern.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBranch()Gets the branch.java.lang.StringgetHookId()Gets the hookId.java.lang.StringgetPattern()Gets the pattern.ToolgetTool()Gets the tool.java.lang.StringgetUrl()Gets the url.java.lang.BooleanisBlindConnection()Gets the blindConnection.
-
-
-
Method Detail
-
getUrl
public java.lang.String getUrl()
Gets the url. URL of the repository to which the trigger is listening.- Returns:
- the url
-
getBranch
public java.lang.String getBranch()
Gets the branch. Name of a branch from the repo. One of branch or pattern must be specified, but only one or the other.- Returns:
- the branch
-
getPattern
public java.lang.String getPattern()
Gets the pattern. The pattern of Git branch or tag to which to listen. You can specify a glob pattern such as '!test' or '*master' to match against multiple tags/branches in the repository. The glob pattern used must conform to Bash 4.3 specifications, see bash documentation for more info: https://www.gnu.org/software/bash/manual/bash.html#Pattern-Matching. One of branch or pattern must be specified, but only one or the other.- Returns:
- the pattern
-
isBlindConnection
public java.lang.Boolean isBlindConnection()
Gets the blindConnection. True if the repository server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide.- Returns:
- the blindConnection
-
getHookId
public java.lang.String getHookId()
Gets the hookId. ID of the webhook from the repo. Computed upon creation of the trigger.- Returns:
- the hookId
-
getTool
public Tool getTool()
Gets the tool. Reference to the repository tool in the parent toolchain.- Returns:
- the tool
-
-