Class IngestExternalClientFactory

java.lang.Object
fr.gouv.vitam.common.external.client.VitamClientFactory<IngestExternalClient>
fr.gouv.vitam.ingest.external.client.IngestExternalClientFactory
All Implemented Interfaces:
VitamClientFactoryInterface<IngestExternalClient>

public class IngestExternalClientFactory extends VitamClientFactory<IngestExternalClient>
Ingest external client factory use to get client by type "rest" or "mock"
  • Method Details

    • getClient

      public IngestExternalClient getClient()
      Get the default worker client
      Returns:
      the default worker client
    • getInstance

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

      public static void changeMode(SecureClientConfiguration configuration)
      Parameters:
      configuration - null for MOCK
    • changeMode

      public static void changeMode(String configurationFile)