java.lang.Object
systems.dennis.shared.dbupdater.service.Updater

@Service @Scope("singleton") public class Updater extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    Updater(DbUpdateConfig config, org.springframework.core.env.Environment environment, jakarta.persistence.EntityManagerFactory entityManagerFactory, systems.dennis.shared.repository.UpdateRepository repository, systems.dennis.shared.beans.IsolatedDatabaseBean isolatedBean, systems.dennis.shared.utils.SimpleEvaluator evaluator)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<systems.dennis.shared.entity.db.DbInjection>
     
    boolean
     
    List<systems.dennis.shared.entity.db.DbInjection>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Updater

      public Updater(DbUpdateConfig config, org.springframework.core.env.Environment environment, jakarta.persistence.EntityManagerFactory entityManagerFactory, systems.dennis.shared.repository.UpdateRepository repository, systems.dennis.shared.beans.IsolatedDatabaseBean isolatedBean, systems.dennis.shared.utils.SimpleEvaluator evaluator)
  • Method Details

    • updateDb

      public List<systems.dennis.shared.entity.db.DbInjection> updateDb() throws IOException
      Throws:
      IOException
    • getForeignListOfScripts

      public List<systems.dennis.shared.entity.db.DbInjection> getForeignListOfScripts()
    • isFree

      public boolean isFree()