withContextId

Start building a SourceAnalysisContext with the given context ID. This is the entry point for the strongly-typed builder pattern.

Usage from Java:

SourceAnalysisContext context = SourceAnalysisContext
.withContextId("my-context")
.withEntityResolver(AlwaysCreateEntityResolver.INSTANCE)
.withSchema(DataDictionary.fromClasses("myschema", Person.class))
.withKnownEntities(knownEntities) // optional
.withTemplateModel(templateModel); // optional

Return

Builder step requiring an entity resolver

Parameters

contextId

The context identifier for this analysis run