Package io.github.cdklabs.projen.github
Class CheckoutWith.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.github.CheckoutWith.Jsii$Proxy
-
- All Implemented Interfaces:
CheckoutWith,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CheckoutWith
@Stability(Experimental) @Internal public static final class CheckoutWith.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CheckoutWith
An implementation forCheckoutWith
-
-
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.CheckoutWith
CheckoutWith.Builder, CheckoutWith.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(CheckoutWith.Builder builder)Constructor that initializes the object based on literal property values passed by theCheckoutWith.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.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(CheckoutWith.Builder builder)
Constructor that initializes the object based on literal property values passed by theCheckoutWith.Builder.
-
-
Method Detail
-
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
-
-