Package ai.docling.serve.api.spi
Interface DoclingServeApiBuilderFactory
public interface DoclingServeApiBuilderFactory
Factory interface for creating builder instances to construct implementations of
DoclingServeApi.-
Method Summary
Modifier and TypeMethodDescription<T extends DoclingServeApi,B extends DoclingServeApi.DoclingApiBuilder<T, B>>
BRetrieves a builder instance for constructing implementations ofDoclingServeApi.
-
Method Details
-
getBuilder
Retrieves a builder instance for constructing implementations ofDoclingServeApi. The returned builder allows customization of various configurations and properties before creating an instance of the API.- Type Parameters:
T- the type of theDoclingServeApiimplementation being builtB- the type of the concrete builder implementation- Returns:
- a builder of type
B, which is used to construct instances ofT
-