@Stability(value=Experimental) @Internal public static final class GitHubEnterpriseSourceProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GitHubEnterpriseSourceProps
GitHubEnterpriseSourcePropssoftware.amazon.jsii.JsiiObject.InitializationModeGitHubEnterpriseSourceProps.Builder, GitHubEnterpriseSourceProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String httpsCloneUrl,
String branchOrRef,
Number cloneDepth,
Boolean fetchSubmodules,
Boolean ignoreSslErrors,
Boolean reportBuildStatus,
Boolean webhook,
List<? extends FilterGroup> webhookFilters,
Boolean webhookTriggersBatchBuild,
String identifier)
Constructor that initializes the object based on literal property values passed by the
GitHubEnterpriseSourceProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getBranchOrRef()
(experimental) The commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build.
|
Number |
getCloneDepth()
(experimental) The depth of history to download.
|
Boolean |
getFetchSubmodules()
(experimental) Whether to fetch submodules while cloning git repo.
|
String |
getHttpsCloneUrl()
(experimental) The HTTPS URL of the repository in your GitHub Enterprise installation.
|
String |
getIdentifier()
(experimental) The source identifier.
|
Boolean |
getIgnoreSslErrors()
(experimental) Whether to ignore SSL errors when connecting to the repository.
|
Boolean |
getReportBuildStatus()
(experimental) Whether to send notifications on your build's start and end.
|
Boolean |
getWebhook()
(experimental) Whether to create a webhook that will trigger a build every time an event happens in the repository.
|
List<FilterGroup> |
getWebhookFilters()
(experimental) A list of webhook filters that can constraint what events in the repository will trigger a build.
|
Boolean |
getWebhookTriggersBatchBuild()
(experimental) Trigger a batch build from a webhook instead of a standard one.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(String httpsCloneUrl, String branchOrRef, Number cloneDepth, Boolean fetchSubmodules, Boolean ignoreSslErrors, Boolean reportBuildStatus, Boolean webhook, List<? extends FilterGroup> webhookFilters, Boolean webhookTriggersBatchBuild, String identifier)
GitHubEnterpriseSourceProps.Builder.public final String getHttpsCloneUrl()
GitHubEnterpriseSourcePropsgetHttpsCloneUrl in interface GitHubEnterpriseSourcePropspublic final String getBranchOrRef()
GitHubEnterpriseSourcePropsDefault: the default branch's HEAD commit ID is used
Example:
// Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826 "mybranch";
getBranchOrRef in interface GitHubEnterpriseSourcePropspublic final Number getCloneDepth()
GitHubEnterpriseSourcePropsMinimum value is 0. If this value is 0, greater than 25, or not provided, then the full history is downloaded with each build of the project.
getCloneDepth in interface GitHubEnterpriseSourcePropspublic final Boolean getFetchSubmodules()
GitHubEnterpriseSourcePropsDefault: false
getFetchSubmodules in interface GitHubEnterpriseSourcePropspublic final Boolean getIgnoreSslErrors()
GitHubEnterpriseSourcePropsDefault: false
getIgnoreSslErrors in interface GitHubEnterpriseSourcePropspublic final Boolean getReportBuildStatus()
GitHubEnterpriseSourcePropsDefault: true
getReportBuildStatus in interface GitHubEnterpriseSourcePropspublic final Boolean getWebhook()
GitHubEnterpriseSourcePropsDefault: true if any `webhookFilters` were provided, false otherwise
getWebhook in interface GitHubEnterpriseSourcePropspublic final List<FilterGroup> getWebhookFilters()
GitHubEnterpriseSourceProps
A build is triggered if any of the provided filter groups match.
Only valid if webhook was not provided as false.
Default: every push and every Pull Request (create or update) triggers a build
getWebhookFilters in interface GitHubEnterpriseSourcePropspublic final Boolean getWebhookTriggersBatchBuild()
GitHubEnterpriseSourcePropsEnabling this will enable batch builds on the CodeBuild project.
Default: false
getWebhookTriggersBatchBuild in interface GitHubEnterpriseSourcePropspublic final String getIdentifier()
SourcePropsThis property is required on secondary sources.
getIdentifier in interface SourceProps@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.