Class HistoryServiceFactory

java.lang.Object
org.qubership.atp.environments.versioning.service.HistoryServiceFactory

@Component public class HistoryServiceFactory extends Object
  • Constructor Details

  • Method Details

    • getHistoryService

      public Optional<VersionHistoryService> getHistoryService(String itemType)
      Returns the concrete implementation of HistoryService depending of entity type.
      Parameters:
      itemType - type of domain entity with supported history
      Returns:
      HistoryService implementation