Package io.github.cdklabs.projen.github
Class CheckoutWithPatchOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.github.CheckoutWithPatchOptions.Jsii$Proxy
-
- All Implemented Interfaces:
CheckoutWith,CheckoutWithPatchOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CheckoutWithPatchOptions
@Stability(Experimental) @Internal public static final class CheckoutWithPatchOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CheckoutWithPatchOptions
An implementation forCheckoutWithPatchOptions
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.github.cdklabs.projen.github.CheckoutWithPatchOptions
CheckoutWithPatchOptions.Builder, CheckoutWithPatchOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(CheckoutWithPatchOptions.Builder builder)Constructor that initializes the object based on literal property values passed by theCheckoutWithPatchOptions.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)NumbergetFetchDepth()(experimental) Number of commits to fetch.BooleangetLfs()(experimental) Whether LFS is enabled for the GitHub repository.StringgetPatchFile()(experimental) The name of the artifact the patch is stored as.StringgetRef()(experimental) Branch or tag name.StringgetRepository()(experimental) The repository (owner/repo) to use.StringgetToken()(experimental) A GitHub token to use when checking out the repository.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(CheckoutWithPatchOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theCheckoutWithPatchOptions.Builder.
-
-
Method Detail
-
getPatchFile
public final String getPatchFile()
Description copied from interface:CheckoutWithPatchOptions(experimental) The name of the artifact the patch is stored as.Default: ".repo.patch"
- Specified by:
getPatchFilein interfaceCheckoutWithPatchOptions
-
getFetchDepth
public final Number getFetchDepth()
Description copied from interface:CheckoutWith(experimental) Number of commits to fetch.0 indicates all history for all branches and tags.
Default: 1
- Specified by:
getFetchDepthin interfaceCheckoutWith
-
getLfs
public final Boolean getLfs()
Description copied from interface:CheckoutWith(experimental) Whether LFS is enabled for the GitHub repository.Default: false
- Specified by:
getLfsin interfaceCheckoutWith
-
getRef
public final String getRef()
Description copied from interface:CheckoutWith(experimental) Branch or tag name.Default: - the default branch is implicitly used
- Specified by:
getRefin interfaceCheckoutWith
-
getRepository
public final String getRepository()
Description copied from interface:CheckoutWith(experimental) The repository (owner/repo) to use.Default: - the default repository is implicitly used
- Specified by:
getRepositoryin interfaceCheckoutWith
-
getToken
public final String getToken()
Description copied from interface:CheckoutWith(experimental) A GitHub token to use when checking out the repository.If the intent is to push changes back to the branch, then you must use a PAT with
repo(and possiblyworkflows) permissions.Default: - the default GITHUB_TOKEN is implicitly used
- Specified by:
getTokenin interfaceCheckoutWith
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-