### *** This interface provides Binary Compatibility only, not Source Compatibility ***

Package com.sas.services.deployment

# Interface ExportServiceConfigInterface

All Known Implementing Classes:
  `ServiceProfile`

@SASScope("ALL") @BinaryCompatibilityOnly public interface ExportServiceConfigInterface
Interface used to export a service configuration to a UTF-8 encoded XML file.

Since:
  9.2

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `exportServiceConfig(File file, ServiceAggregateConfig serviceAggregateConfig, boolean isExportingBaseConfig, List<String> applicationConfigNames)`
  Exports the service configuration to a UTF-8 encoded XML file.

- ## Method Details

  - ### exportServiceConfig

    void exportServiceConfig(File file, ServiceAggregateConfig serviceAggregateConfig, boolean isExportingBaseConfig, List<String> applicationConfigNames) throws ServiceException
    Exports the service configuration to a UTF-8 encoded XML file.
    Parameters:
      `file` - The destination file to which a UTF-8 encoded representation of the service configuration will be written as XML.
      `serviceAggregateConfig` - The service configuration that is to be written.
      `isExportingBaseConfig` - `true` if the servie's base configuration is being exported or `false` if it isn't.
      `applicationConfigNames` - Collection of `String` elements representing the names of the service's layered application configurations which are being exported.
    Throws:
      `ServiceException` - if unable to export the service's configuration to a file.