Class ProjectOptions.Jsii$Proxy

  • All Implemented Interfaces:
    ProjectOptions, software.amazon.jsii.JsiiSerializable
    Enclosing interface:
    ProjectOptions

    @Stability(Experimental)
    @Internal
    public static final class ProjectOptions.Jsii$Proxy
    extends software.amazon.jsii.JsiiObject
    implements ProjectOptions
    An implementation for ProjectOptions
    • 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.
    • Method Detail

      • getName

        public final String getName()
        Description copied from interface: ProjectOptions
        (experimental) This is the name of your project.

        Default: $BASEDIR

        Specified by:
        getName in interface ProjectOptions
      • getOutdir

        public final String getOutdir()
        Description copied from interface: ProjectOptions
        (experimental) The root directory of the project.

        Relative to this directory, all files are synthesized.

        If this project has a parent, this directory is relative to the parent directory and it cannot be the same as the parent or any of it's other subprojects.

        Default: "."

        Specified by:
        getOutdir in interface ProjectOptions
      • getParent

        public final Project getParent()
        Description copied from interface: ProjectOptions
        (experimental) The parent project, if this project is part of a bigger project.
        Specified by:
        getParent in interface ProjectOptions
      • getProjenCommand

        public final String getProjenCommand()
        Description copied from interface: ProjectOptions
        (experimental) The shell command to use in order to run the projen CLI.

        Can be used to customize in special environments.

        Default: "npx projen"

        Specified by:
        getProjenCommand in interface ProjectOptions
      • getProjenrcJson

        public final Boolean getProjenrcJson()
        Description copied from interface: ProjectOptions
        (experimental) Generate (once) .projenrc.json (in JSON). Set to false in order to disable .projenrc.json generation.

        Default: false

        Specified by:
        getProjenrcJson in interface ProjectOptions
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object