Class MigramiBuilder<B extends MigramiBuilder<B>>


  • public abstract class MigramiBuilder<B extends MigramiBuilder<B>>
    extends Object
    • Field Detail

      • repository

        protected Optional<migrami.core.interfaces.MigramiSnapshotRepository> repository
      • checksumFactory

        protected Optional<migrami.core.interfaces.MigramiChecksumFactory> checksumFactory
    • Constructor Detail

      • MigramiBuilder

        protected MigramiBuilder()
    • Method Detail

      • withChecksumfactory

        public final B withChecksumfactory​(migrami.core.interfaces.MigramiChecksumFactory checksumFactory)
      • withClasspathScriptLoader

        public final B withClasspathScriptLoader()
      • withClasspathScriptLoader

        public final B withClasspathScriptLoader​(migrami.core.interfaces.MigramiCategory category)
      • withClasspathScriptLoader

        public final B withClasspathScriptLoader​(String rootPath)
      • withClasspathScriptLoader

        public final B withClasspathScriptLoader​(String rootPath,
                                                 migrami.core.interfaces.MigramiCategory category)
      • withScriptLoader

        public final B withScriptLoader​(migrami.core.interfaces.MigramiScriptLoader loader)
      • addScriptLoader

        public final B addScriptLoader​(migrami.core.interfaces.MigramiCategory category,
                                       migrami.core.interfaces.MigramiScriptLoader loader)
      • withInMemorySnapshotRepository

        public final B withInMemorySnapshotRepository()
      • withSnapshotRepository

        public final B withSnapshotRepository​(migrami.core.interfaces.MigramiSnapshotRepository repository)
      • validate

        protected void validate()
      • build

        public abstract migrami.core.interfaces.Migrami build()