Package io.github.cdklabs.projen
Class TextFileOptions.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.TextFileOptions.Jsii$Proxy
-
- All Implemented Interfaces:
FileBaseOptions,TextFileOptions,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- TextFileOptions
@Stability(Experimental) @Internal public static final class TextFileOptions.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements TextFileOptions
An implementation forTextFileOptions
-
-
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.TextFileOptions
TextFileOptions.Builder, TextFileOptions.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(TextFileOptions.Builder builder)Constructor that initializes the object based on literal property values passed by theTextFileOptions.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)BooleangetCommitted()(experimental) Indicates whether this file should be committed to git or ignored.BooleangetEditGitignore()(experimental) Update the project's .gitignore file.BooleangetExecutable()(experimental) Whether the generated file should be marked as executable.List<String>getLines()(experimental) The contents of the text file.BooleangetMarker()(experimental) Adds the projen marker to the file.BooleangetReadonly()(experimental) Whether the generated file should be readonly.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(TextFileOptions.Builder builder)
Constructor that initializes the object based on literal property values passed by theTextFileOptions.Builder.
-
-
Method Detail
-
getLines
public final List<String> getLines()
Description copied from interface:TextFileOptions(experimental) The contents of the text file.You can use
addLine()to append lines.Default: [] empty file
- Specified by:
getLinesin interfaceTextFileOptions
-
getCommitted
public final Boolean getCommitted()
Description copied from interface:FileBaseOptions(experimental) Indicates whether this file should be committed to git or ignored.By default, all generated files are committed and anti-tamper is used to protect against manual modifications.
Default: true
- Specified by:
getCommittedin interfaceFileBaseOptions
-
getEditGitignore
public final Boolean getEditGitignore()
Description copied from interface:FileBaseOptions(experimental) Update the project's .gitignore file.Default: true
- Specified by:
getEditGitignorein interfaceFileBaseOptions
-
getExecutable
public final Boolean getExecutable()
Description copied from interface:FileBaseOptions(experimental) Whether the generated file should be marked as executable.Default: false
- Specified by:
getExecutablein interfaceFileBaseOptions
-
getMarker
public final Boolean getMarker()
Description copied from interface:FileBaseOptions(experimental) Adds the projen marker to the file.Default: - marker will be included as long as the project is not ejected
- Specified by:
getMarkerin interfaceFileBaseOptions
-
getReadonly
public final Boolean getReadonly()
Description copied from interface:FileBaseOptions(experimental) Whether the generated file should be readonly.Default: true
- Specified by:
getReadonlyin interfaceFileBaseOptions
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-