Package io.github.cdklabs.projen.github
Class PullRequestPatchSource.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.github.PullRequestPatchSource.Jsii$Proxy
-
- All Implemented Interfaces:
CheckoutWith,CheckoutWithPatchOptions,PullRequestPatchSource,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- PullRequestPatchSource
@Stability(Experimental) @Internal public static final class PullRequestPatchSource.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PullRequestPatchSource
An implementation forPullRequestPatchSource
-
-
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.PullRequestPatchSource
PullRequestPatchSource.Builder, PullRequestPatchSource.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(PullRequestPatchSource.Builder builder)Constructor that initializes the object based on literal property values passed by thePullRequestPatchSource.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.StringgetJobId()(experimental) The id of the job that created the patch file.BooleangetLfs()(experimental) Whether LFS is enabled for the GitHub repository.StringgetOutputName()(experimental) The name of the output that indicates if a patch has been created.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(PullRequestPatchSource.Builder builder)
Constructor that initializes the object based on literal property values passed by thePullRequestPatchSource.Builder.
-
-
Method Detail
-
getJobId
public final String getJobId()
Description copied from interface:PullRequestPatchSource(experimental) The id of the job that created the patch file.- Specified by:
getJobIdin interfacePullRequestPatchSource
-
getOutputName
public final String getOutputName()
Description copied from interface:PullRequestPatchSource(experimental) The name of the output that indicates if a patch has been created.- Specified by:
getOutputNamein interfacePullRequestPatchSource
-
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
-
-