ModelInput

data class ModelInput(val format: ModelFormat, val roots: List<ModelRoot> = emptyList(), val files: List<File> = emptyList(), val definitions: List<File> = emptyList(), val viewpoints: Set<Viewpoint> = emptySet(), val elementType: ElementType = ElementType.COMPONENT, val elements: Set<String> = emptySet(), val bindings: Map<String, String> = emptyMap(), val sharedDefinitionsOwner: String? = null, val excludes: List<String> = listOf("**/test/**", "**/tests/**"), val modules: Set<String> = emptySet(), val codeSources: List<CodeModelSource> = emptyList(), val context: ModelImportMode = if (Viewpoint.CONTEXT in viewpoints) ModelImportMode.OVERWRITE else ModelImportMode.SKIP, val missingInterfacePoints: MissingInterfacePointPolicy = MissingInterfacePointPolicy.REPORT, val interfacesModule: String? = null, val descriptionMode: FieldImportMode = if (context == ModelImportMode.COMPLEMENT_WITH_DESCRIPTION_AND_ASIL) FieldImportMode.PRESERVE_IF_SOURCE_EMPTY else FieldImportMode.OVERWRITE, val asilMode: FieldImportMode = if (context == ModelImportMode.COMPLEMENT_WITH_DESCRIPTION_AND_ASIL) FieldImportMode.PRESERVE_IF_SOURCE_EMPTY else FieldImportMode.OVERWRITE, val headerLanguage: CHeaderLanguage = com.stigway.engine.specification.cheader.CHeaderLanguage.C) : Serializable

Import routing and selection; engineering properties belong to canonical Highway classes.

Constructors

Link copied to clipboard
constructor(format: ModelFormat, roots: List<ModelRoot> = emptyList(), files: List<File> = emptyList(), definitions: List<File> = emptyList(), viewpoints: Set<Viewpoint> = emptySet(), elementType: ElementType = ElementType.COMPONENT, elements: Set<String> = emptySet(), bindings: Map<String, String> = emptyMap(), sharedDefinitionsOwner: String? = null, excludes: List<String> = listOf("**/test/**", "**/tests/**"), modules: Set<String> = emptySet(), codeSources: List<CodeModelSource> = emptyList(), context: ModelImportMode = if (Viewpoint.CONTEXT in viewpoints) ModelImportMode.OVERWRITE else ModelImportMode.SKIP, missingInterfacePoints: MissingInterfacePointPolicy = MissingInterfacePointPolicy.REPORT, interfacesModule: String? = null, descriptionMode: FieldImportMode = if (context == ModelImportMode.COMPLEMENT_WITH_DESCRIPTION_AND_ASIL) FieldImportMode.PRESERVE_IF_SOURCE_EMPTY else FieldImportMode.OVERWRITE, asilMode: FieldImportMode = if (context == ModelImportMode.COMPLEMENT_WITH_DESCRIPTION_AND_ASIL) FieldImportMode.PRESERVE_IF_SOURCE_EMPTY else FieldImportMode.OVERWRITE, headerLanguage: CHeaderLanguage = com.stigway.engine.specification.cheader.CHeaderLanguage.C)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Generated with STIG