Class SchedulerClientFactory
- java.lang.Object
-
- fr.gouv.vitam.common.client.VitamClientFactory<SchedulerClient>
-
- fr.gouv.vitam.scheduler.server.client.SchedulerClientFactory
-
- All Implemented Interfaces:
VitamClientFactoryInterface<SchedulerClient>
public class SchedulerClientFactory extends VitamClientFactory<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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
changeMode(ClientConfiguration configuration)
SchedulerClient
getClient()
This method returns the correct Client adapted to the business casestatic SchedulerClientFactory
getInstance()
Get factory instance-
Methods 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 Detail
-
changeMode
public static void changeMode(ClientConfiguration configuration)
- Parameters:
configuration
- null for MOCK
-
getInstance
public static SchedulerClientFactory getInstance()
Get factory instance- Returns:
- the factory instance
-
getClient
public SchedulerClient getClient()
Description copied from interface:VitamClientFactoryInterface
This method returns the correct Client adapted to the business case- Returns:
- the Vitam client
-
-