Package migrami.core.interfaces
Class MigramiBuilder<B extends MigramiBuilder<B>>
- java.lang.Object
-
- migrami.core.interfaces.MigramiBuilder<B>
-
public abstract class MigramiBuilder<B extends MigramiBuilder<B>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Optional<migrami.core.interfaces.MigramiChecksumFactory>checksumFactoryprotected Optional<migrami.core.interfaces.MigramiSnapshotRepository>repositoryprotected MigramiCategoryScriptLoaderscriptLoaders
-
Constructor Summary
Constructors Modifier Constructor Description protectedMigramiBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description BaddScriptLoader(migrami.core.interfaces.MigramiCategory category, migrami.core.interfaces.MigramiScriptLoader loader)abstract migrami.core.interfaces.Migramibuild()protected voidvalidate()BwithChecksumfactory(migrami.core.interfaces.MigramiChecksumFactory checksumFactory)BwithClasspathScriptLoader()BwithClasspathScriptLoader(String rootPath)BwithClasspathScriptLoader(String rootPath, migrami.core.interfaces.MigramiCategory category)BwithClasspathScriptLoader(migrami.core.interfaces.MigramiCategory category)BwithInMemorySnapshotRepository()BwithScriptLoader(migrami.core.interfaces.MigramiScriptLoader loader)BwithSnapshotRepository(migrami.core.interfaces.MigramiSnapshotRepository repository)
-
-
-
Field Detail
-
scriptLoaders
protected MigramiCategoryScriptLoader scriptLoaders
-
repository
protected Optional<migrami.core.interfaces.MigramiSnapshotRepository> repository
-
checksumFactory
protected Optional<migrami.core.interfaces.MigramiChecksumFactory> checksumFactory
-
-
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, 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()
-
-