Class BatchReportClientFactory

java.lang.Object
fr.gouv.vitam.common.client.VitamClientFactory<BatchReportClient>
fr.gouv.vitam.batch.report.client.BatchReportClientFactory
All Implemented Interfaces:
VitamClientFactoryInterface<BatchReportClient>

public class BatchReportClientFactory extends VitamClientFactory<BatchReportClient>
BatchReportClientFactory
  • Method Details

    • getInstance

      public static final BatchReportClientFactory getInstance()
      Get the BatchReportClientFactory instance
      Returns:
      the instance
    • changeConfigurationFile

      public static final ClientConfiguration changeConfigurationFile(String configurationPath)
      Change client configuration from a Yaml files
      Parameters:
      configurationPath - the path to the configuration file
      Returns:
      ClientConfiguration
    • changeMode

      public static final void changeMode(ClientConfiguration configuration)
      Parameters:
      configuration - null for MOCK
    • getClient

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