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. Only one of branch, pattern, or filter should be specified.- Returns:
- the branch
-
getPattern
public java.lang.String getPattern()
Gets the pattern. The pattern of Git branch or tag. You can specify a glob pattern such as '!test' or '*master' to match against multiple tags or 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. Only one of branch, pattern, or filter should be specified.- 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. Repository webhook ID. It is generated upon trigger creation.- Returns:
- the hookId
-
getTool
public Tool getTool()
Gets the tool. Reference to the repository tool in the parent toolchain.- Returns:
- the tool
-
-