Class CapacityPlanningApiClientFactory
java.lang.Object
overit.geocallapp.wfm.orchestrator.planning.bl.coveragealgorithm.CapacityPlanningApiClientFactory
Factory class for creating REST API clients for capacity planning algorithm.
This class centralizes the creation of API clients with the appropriate authentication method.
- Since:
- 20.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic RestApiClientCreates an API client with the appropriate authentication method based on configuration.static RestApiClientcreateApiClient(String baseUrl) Creates an API client with the appropriate authentication method based on configuration.
-
Method Details
-
createApiClient
Creates an API client with the appropriate authentication method based on configuration.- Returns:
- A configured RestApiClient
-
createApiClient
Creates an API client with the appropriate authentication method based on configuration.- Parameters:
baseUrl- The base URL for the API- Returns:
- A configured RestApiClient
-