Package io.github.cdklabs.projen
Interface FileBaseOptions
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IniFileOptions,JsonFileOptions,MakefileOptions,ObjectFileOptions,ReactTypeDefOptions,TextFileOptions,TomlFileOptions,XmlFileOptions,YamlFileOptions
- All Known Implementing Classes:
FileBaseOptions.Jsii$Proxy,IniFileOptions.Jsii$Proxy,JsonFileOptions.Jsii$Proxy,MakefileOptions.Jsii$Proxy,ObjectFileOptions.Jsii$Proxy,ReactTypeDefOptions.Jsii$Proxy,TextFileOptions.Jsii$Proxy,TomlFileOptions.Jsii$Proxy,XmlFileOptions.Jsii$Proxy,YamlFileOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:42.752Z") @Stability(Experimental) public interface FileBaseOptions extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classFileBaseOptions.BuilderA builder forFileBaseOptionsstatic classFileBaseOptions.Jsii$ProxyAn implementation forFileBaseOptions
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static FileBaseOptions.Builderbuilder()default BooleangetCommitted()(experimental) Indicates whether this file should be committed to git or ignored.default BooleangetEditGitignore()(experimental) Update the project's .gitignore file.default BooleangetExecutable()(experimental) Whether the generated file should be marked as executable.default BooleangetMarker()(experimental) Adds the projen marker to the file.default BooleangetReadonly()(experimental) Whether the generated file should be readonly.
-
-
-
Method Detail
-
getCommitted
@Stability(Experimental) @Nullable default Boolean getCommitted()
(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
-
getEditGitignore
@Stability(Experimental) @Nullable default Boolean getEditGitignore()
(experimental) Update the project's .gitignore file.Default: true
-
getExecutable
@Stability(Experimental) @Nullable default Boolean getExecutable()
(experimental) Whether the generated file should be marked as executable.Default: false
-
getMarker
@Stability(Experimental) @Nullable default Boolean getMarker()
(experimental) Adds the projen marker to the file.Default: - marker will be included as long as the project is not ejected
-
getReadonly
@Stability(Experimental) @Nullable default Boolean getReadonly()
(experimental) Whether the generated file should be readonly.Default: true
-
builder
@Stability(Experimental) static FileBaseOptions.Builder builder()
- Returns:
- a
FileBaseOptions.BuilderofFileBaseOptions
-
-