Class ProjenrcFile

  • All Implemented Interfaces:
    software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable
    Direct Known Subclasses:
    Projenrc, Projenrc, Projenrc, Projenrc, ProjenrcJson, ProjenrcTs

    @Generated(value="jsii-pacmak/1.96.0 (build 921e240)",
               date="2024-03-28T21:16:42.795Z")
    @Stability(Experimental)
    public abstract class ProjenrcFile
    extends Component
    (experimental) A component representing the projen runtime configuration.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
      • Nested classes/interfaces inherited from interface software.constructs.IConstruct

        software.constructs.IConstruct.Jsii$Default
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ProjenrcFile​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)  
      protected ProjenrcFile​(software.amazon.jsii.JsiiObjectRef objRef)  
      protected ProjenrcFile​(software.constructs.IConstruct scope)  
      protected ProjenrcFile​(software.constructs.IConstruct scope, String id)  
    • Constructor Detail

      • ProjenrcFile

        protected ProjenrcFile​(software.amazon.jsii.JsiiObjectRef objRef)
      • ProjenrcFile

        protected ProjenrcFile​(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
      • ProjenrcFile

        @Stability(Experimental)
        protected ProjenrcFile​(@NotNull
                               software.constructs.IConstruct scope,
                               @Nullable
                               String id)
        Parameters:
        scope - This parameter is required.
        id -
      • ProjenrcFile

        @Stability(Experimental)
        protected ProjenrcFile​(@NotNull
                               software.constructs.IConstruct scope)
        Parameters:
        scope - This parameter is required.
    • Method Detail

      • of

        @Stability(Experimental)
        @Nullable
        public static ProjenrcFile of​(@NotNull
                                      Project project)
        (experimental) Returns the Projenrc instance associated with a project or undefined if there is no Projenrc.

        Parameters:
        project - The project. This parameter is required.
        Returns:
        A Projenrc
      • preSynthesize

        @Stability(Experimental)
        public void preSynthesize()
        (experimental) Called before synthesis.
        Overrides:
        preSynthesize in class Component
      • getFilePath

        @Stability(Experimental)
        @NotNull
        public abstract String getFilePath()
        (experimental) The path of the projenrc file.