with Context Id
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); // optionalContent copied to clipboard
Return
Builder step requiring an entity resolver
Parameters
context Id
The context identifier for this analysis run