Interface FileBaseOptions

    • 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