Class SchedulerClientFactory
java.lang.Object
fr.gouv.vitam.common.client.VitamClientFactory<SchedulerClient>
fr.gouv.vitam.scheduler.server.client.SchedulerClientFactory
- All Implemented Interfaces:
VitamClientFactoryInterface<SchedulerClient>
-
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 void
changeMode
(ClientConfiguration configuration) This method returns the correct Client adapted to the business casestatic SchedulerClientFactory
Get the SchedulerClientFactory instancestatic SchedulerClientFactory
getInstance
(WorkFlowExecutionContext executionContext) Get the SchedulerClientFactory instance for the given workflow execution contextMethods 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 SchedulerClientFactory instance- Returns:
- the instance
-
getInstance
Get the SchedulerClientFactory instance for the given workflow execution context- Parameters:
executionContext
- the workflow execution context- Returns:
- the instance
-
getClient
Description copied from interface:VitamClientFactoryInterface
This method returns the correct Client adapted to the business case- Returns:
- the Vitam client
-
changeMode
- Parameters:
configuration
- null for MOCK
-