InitElementRequest

data class InitElementRequest(val projectRoot: Path, val userRepoRoot: Path? = null, val elementDir: Path, val gradlePath: String? = null, val importEnabled: Boolean? = null, val createBuildFile: Boolean = true, val placement: ViewpointsPlacement = ViewpointsPlacement.STIG_SUBDIR, val basePackage: String? = null, val viewpoints: List<Viewpoint> = Viewpoint.entries, val mode: WriteMode = WriteMode.OVERWRITE, val createTemplates: Boolean = true, val templateMode: TemplateMode = TemplateMode.SKELETON, val elementType: String = "Component", val asil: ASIL? = null, val sourceCodeAnalysis: InitSourceCodeAnalysisConfiguration = InitSourceCodeAnalysisConfiguration.DISABLED, val dryRun: Boolean = false, val group: String? = null, val typedElementsConfigPath: String? = null, val elementName: String? = null)

Constructors

Link copied to clipboard
constructor(projectRoot: Path, userRepoRoot: Path? = null, elementDir: Path, gradlePath: String? = null, importEnabled: Boolean? = null, createBuildFile: Boolean = true, placement: ViewpointsPlacement = ViewpointsPlacement.STIG_SUBDIR, basePackage: String? = null, viewpoints: List<Viewpoint> = Viewpoint.entries, mode: WriteMode = WriteMode.OVERWRITE, createTemplates: Boolean = true, templateMode: TemplateMode = TemplateMode.SKELETON, elementType: String = "Component", asil: ASIL? = null, sourceCodeAnalysis: InitSourceCodeAnalysisConfiguration = InitSourceCodeAnalysisConfiguration.DISABLED, dryRun: Boolean = false, group: String? = null, typedElementsConfigPath: String? = null, elementName: String? = null)

Properties

Link copied to clipboard
val asil: ASIL?

Optional explicit ASIL written to the generated element configuration.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Preview all write decisions without changing settings, creating directories, or writing files.

Link copied to clipboard
Link copied to clipboard

Explicit canonical Kotlin type name when it differs from the directory leaf.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Explicit group name for the generated build.gradle.kts. When non-null/non-blank, used directly in group = groups["<value>"]. When null/blank, the generated file contains a commented your_group placeholder and inherits project defaults.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Whether the generated module inherits source-code-analysis settings or starts with every source-code-analysis kind explicitly disabled. A disabled scaffold can generate its model report before native-analysis inputs exist.

Link copied to clipboard
Link copied to clipboard

Repository-relative settings file containing the managed // STIG: end-includes marker. The legacy property name is retained for API compatibility. When null, defaults to settings.gradle.kts.

Link copied to clipboard
Link copied to clipboard
Generated with STIG