Class TemplateRepositoryUtility

java.lang.Object
org.tasktide.core.repository.template_repo.TemplateRepositoryUtility

public class TemplateRepositoryUtility extends Object
Supports creation of Template TaskTideRepository, TaskTideService, and initialize the TaskTideServiceManager
  • Method Details

    • initialize

      public static void initialize(String dbType)
      Initialize utility with the DB type, throwing an illegal state exception if already initialized
      Parameters:
      dbType -
    • get

      public static TemplateRepositoryUtility get()
      Get configured utility, throwing illegal state exception if not already initialized.
      Returns:
      TemplateRepositoryUtility
    • fetchTemplate

      public jakarta.nosql.Template fetchTemplate()
      Fetch Template for template type (ie DocumentTemplate etc)
      Returns:
      Template
    • provideTemplateClass

      public Class provideTemplateClass(String dbType)
      Maps provided NoSQL DB type to Template class
      Parameters:
      dbType -
      Returns:
      Class
    • initServiceManager

      public void initServiceManager()