Class BatchReportClientFactory
java.lang.Object
fr.gouv.vitam.common.client.VitamClientFactory<BatchReportClient>
fr.gouv.vitam.batch.report.client.BatchReportClientFactory
- All Implemented Interfaces:
VitamClientFactoryInterface<BatchReportClient>
BatchReportClientFactory
-
Nested Class Summary
Nested classes/interfaces inherited from interface fr.gouv.vitam.common.client.VitamClientFactoryInterface
VitamClientFactoryInterface.VitamClientType
-
Field Summary
Fields inherited from class fr.gouv.vitam.common.client.VitamClientFactory
clientConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionstatic final ClientConfiguration
changeConfigurationFile
(String configurationPath) Change client configuration from a Yaml filesstatic final void
changeMode
(ClientConfiguration configuration) This method returns the correct Client adapted to the business casestatic final BatchReportClientFactory
Get the BatchReportClientFactory instanceMethods inherited from class fr.gouv.vitam.common.client.VitamClientFactory
changeResourcePath, changeServerPort, disableUseAuthorizationFilter, enableUseAuthorizationFilter, getClientConfiguration, getDefaultConfigCient, getDefaultConfigCient, getHttpClient, getHttpClient, getResourcePath, getServiceUrl, getVitamClientType, getVitamThreadPoolExecutor, initialisation, isAllowGzipDecoded, isAllowGzipEncoded, resetConnections, resume, setGzipdecoded, setGzipEncoded, setVitamClientType, shutdown, toString
-
Method Details
-
getInstance
Get the BatchReportClientFactory instance- Returns:
- the instance
-
changeConfigurationFile
Change client configuration from a Yaml files- Parameters:
configurationPath
- the path to the configuration file- Returns:
- ClientConfiguration
-
changeMode
- Parameters:
configuration
- null for MOCK
-
getClient
Description copied from interface:VitamClientFactoryInterface
This method returns the correct Client adapted to the business case- Returns:
- the Vitam client
-