Class CollectInternalClientFactory

java.lang.Object
fr.gouv.vitam.common.client.VitamClientFactory<CollectInternalClient>
fr.gouv.vitam.collect.internal.client.CollectInternalClientFactory
All Implemented Interfaces:
VitamClientFactoryInterface<CollectInternalClient>

public class CollectInternalClientFactory extends VitamClientFactory<CollectInternalClient>
Collect Client Factory class. Provide a rest or a mock version of the client
  • Constructor Details

    • CollectInternalClientFactory

      protected CollectInternalClientFactory()
  • Method Details

    • getInstance

      public static CollectInternalClientFactory getInstance()
      Get the AccessClientFactory instance
      Returns:
      the instance
    • changeMode

      public static void changeMode(String configurationFile)
      Parameters:
      configurationFile - Generate MOCK vitamClientType for null configuration
    • getClient

      public CollectInternalClient getClient()
      Description copied from interface: VitamClientFactoryInterface
      This method returns the correct Client adapted to the business case
      Returns:
      the Vitam client