- Darwin - Class in one.edee.darwin
-
Darwin allows you to automatically update your database layer structure.
- Darwin() - Constructor for class one.edee.darwin.Darwin
-
- darwin(ResourceAccessor) - Method in class one.edee.darwin.spring.DarwinConfiguration
-
- DARWIN_COMPONENT_NAME - Static variable in class one.edee.darwin.Darwin
-
- DARWIN_COMPONENT_VERSION - Static variable in class one.edee.darwin.Darwin
-
- DarwinBuilder - Class in one.edee.darwin
-
Builder factory for AutoUpdate
- DarwinBuilder(ApplicationContext, String, String) - Constructor for class one.edee.darwin.DarwinBuilder
-
- DarwinConfiguration - Class in one.edee.darwin.spring
-
No documentation needed, just look at the methods.
- DarwinConfiguration() - Constructor for class one.edee.darwin.spring.DarwinConfiguration
-
- DarwinStorage - Interface in one.edee.darwin.storage
-
Describes base persistence layer contract for Darwin.
- DarwinStorage.SqlScriptStatus - Enum in one.edee.darwin.storage
-
Contains all possible states of the SQL script.
- DatabaseConnectionException - Exception in one.edee.darwin.exception
-
Exception is thrown when connection to the database is needed and not achieved.
- DatabaseConnectionException() - Constructor for exception one.edee.darwin.exception.DatabaseConnectionException
-
Constructs a new runtime exception with null as its
detail message.
- DatabaseConnectionException(String) - Constructor for exception one.edee.darwin.exception.DatabaseConnectionException
-
Constructs a new runtime exception with the specified detail message.
- DatabaseConnectionException(Throwable) - Constructor for exception one.edee.darwin.exception.DatabaseConnectionException
-
Constructs a new runtime exception with the specified cause and a
detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause).
- DatabaseConnectionException(String, Throwable) - Constructor for exception one.edee.darwin.exception.DatabaseConnectionException
-
Constructs a new runtime exception with the specified detail message and
cause.
- dataSource - Variable in class one.edee.darwin.storage.AbstractDatabaseStorage
-
- dbResourceAccessor - Variable in class one.edee.darwin.storage.AbstractDatabaseStorage
-
- DefaultDatabaseDarwinStorage - Class in one.edee.darwin.storage
-
Default implementation of the Darwin storage.
- DefaultDatabaseDarwinStorage(ResourceNameAnalyzer, StorageChecker) - Constructor for class one.edee.darwin.storage.DefaultDatabaseDarwinStorage
-
- DefaultDatabaseLockStorage - Class in one.edee.darwin.storage
-
Default database implementation for
Locker.
- DefaultDatabaseLockStorage() - Constructor for class one.edee.darwin.storage.DefaultDatabaseLockStorage
-
- DefaultDatabaseStorageChecker - Class in one.edee.darwin.storage
-
Default implementation of storage checker just runs selected scripts and when it ends without any exception
it assumes, that version of the storage is that with last executed script.
- DefaultDatabaseStorageChecker() - Constructor for class one.edee.darwin.storage.DefaultDatabaseStorageChecker
-
- DefaultDatabaseStorageUpdater - Class in one.edee.darwin.storage
-
Default database storage updater.
- DefaultDatabaseStorageUpdater(StorageChecker) - Constructor for class one.edee.darwin.storage.DefaultDatabaseStorageUpdater
-
- DefaultResourceAccessor - Class in one.edee.darwin.resources
-
- DefaultResourceAccessor() - Constructor for class one.edee.darwin.resources.DefaultResourceAccessor
-
Constructor.
- DefaultResourceAccessor(ResourceLoader, String, String) - Constructor for class one.edee.darwin.resources.DefaultResourceAccessor
-
Constructor.
- DefaultResourceMatcher - Class in one.edee.darwin.resources
-
Default implementation of resource matcher.
- DefaultResourceMatcher() - Constructor for class one.edee.darwin.resources.DefaultResourceMatcher
-
- DefaultResourceNameAnalyzer - Class in one.edee.darwin.resources
-
Default resource name version extractor.
- DefaultResourceNameAnalyzer() - Constructor for class one.edee.darwin.resources.DefaultResourceNameAnalyzer
-
- getComponentName() - Method in interface one.edee.darwin.model.SchemaVersionProvider
-
Returns component name.
- getComponentVersion() - Method in interface one.edee.darwin.model.SchemaVersionProvider
-
Returns specific version of data library.
- getCurrentDatabaseTime() - Method in interface one.edee.darwin.storage.LockStorage
-
Returns current database time, that is shared among nodes.
- getCurrentDatabaseTime() - Method in class one.edee.darwin.storage.TransactionalDatabaseLockStorage
-
- getDbProcessLock(String, LocalDateTime) - Method in class one.edee.darwin.storage.DefaultDatabaseLockStorage
-
- getDbProcessLock(String, LocalDateTime) - Method in class one.edee.darwin.storage.TransactionalDatabaseLockStorage
-
- getPatchByResourcePath(String, String) - Method in interface one.edee.darwin.storage.DarwinStorage
-
Returns record for the patch by its path and component name in case it exists in database.
- getPatchByResourcePath(String, String) - Method in class one.edee.darwin.storage.DefaultDatabaseDarwinStorage
-
- getPatches(Resource[], String, Platform, DarwinStorage, StorageChecker, PatchType) - Method in class one.edee.darwin.resources.ResourcePatchMediator
-
- getPatchNameFromResource(Resource) - Method in class one.edee.darwin.resources.DefaultResourceNameAnalyzer
-
- getPatchNameFromResource(Resource) - Method in interface one.edee.darwin.resources.ResourceNameAnalyzer
-
Extracts name from patch represented as Resource.
- getPlatform() - Method in class one.edee.darwin.storage.AbstractDatabaseStorage
-
- getPlatform() - Method in interface one.edee.darwin.storage.StorageChecker
-
Returns platform of the storage.
- getPlatformAndNameFromResourcePath(String) - Method in class one.edee.darwin.resources.DefaultResourceNameAnalyzer
-
- getPlatformAndNameFromResourcePath(String) - Method in interface one.edee.darwin.resources.ResourceNameAnalyzer
-
Extracts platform and name from patch represented as Resource.
- getPlatformFromJdbcUrl(DataSource) - Static method in enum one.edee.darwin.model.Platform
-
- getProcessLock(String, LocalDateTime) - Method in interface one.edee.darwin.storage.LockStorage
-
Method returns data about existing / nonexistent lock.
- getProcessLock(String, LocalDateTime) - Method in class one.edee.darwin.storage.TransactionalDatabaseLockStorage
-
- getResources(String, PathMatchingResourcePatternResolver) - Method in class one.edee.darwin.resources.DefaultResourceAccessor
-
Automatically finds all resources on path.
- getResourcesPath() - Method in class one.edee.darwin.model.Patch
-
Returns path to the patch contents.
- getSortedResourceList(Platform) - Method in class one.edee.darwin.resources.DefaultResourceAccessor
-
Returns resource list (means list of resource objects) ordered by name for certain platform.
- getSortedResourceList(Platform) - Method in interface one.edee.darwin.resources.ResourceAccessor
-
Returns list of resources matching database patches for certain resource name.
- getTextContentFromResource(String) - Method in class one.edee.darwin.resources.DefaultResourceAccessor
-
Returns unparsed text content of specified resource.
- getTextContentFromResource(String) - Method in interface one.edee.darwin.resources.ResourceAccessor
-
Returns string contents of the resource by its name.
- getTextContentFromResource(String) - Method in class one.edee.darwin.resources.ScriptableResourceAccessor
-
- getTokenizedSQLScriptContentFromResource(String) - Method in class one.edee.darwin.resources.DefaultResourceAccessor
-
Returns tokenized SQL statements in list.
- getTokenizedSQLScriptContentFromResource(String) - Method in interface one.edee.darwin.resources.ResourceAccessor
-
Parses SQL script to individual SQL commands.
- getVersionDescriptorForComponent(String) - Method in interface one.edee.darwin.storage.DarwinStorage
-
Returns version descriptor for particular component.
- getVersionDescriptorForComponent(String) - Method in class one.edee.darwin.storage.DefaultDatabaseDarwinStorage
-
- getVersionFromPatch(Patch) - Method in class one.edee.darwin.resources.DefaultResourceNameAnalyzer
-
- getVersionFromPatch(Patch) - Method in interface one.edee.darwin.resources.ResourceNameAnalyzer
-
Analyzes name of patch and extracts version from its name.
- getVersionFromResource(Resource) - Method in class one.edee.darwin.resources.DefaultResourceNameAnalyzer
-
- getVersionFromResource(Resource) - Method in interface one.edee.darwin.resources.ResourceNameAnalyzer
-
Analyzes name of patch represented as Resource and extracts version from its name.
- guessPatchAlreadyApplied(String, DarwinStorage, VersionDescriptor) - Method in class one.edee.darwin.storage.DefaultDatabaseStorageChecker
-
- guessPatchAlreadyApplied(String, DarwinStorage, VersionDescriptor) - Method in interface one.edee.darwin.storage.StorageChecker
-
Executes script that allows to guess if particular patch is already present in database.
- guessVersion(String, DarwinStorage) - Method in class one.edee.darwin.storage.DefaultDatabaseStorageChecker
-
- guessVersion(String, DarwinStorage) - Method in interface one.edee.darwin.storage.StorageChecker
-
Executes script that allows to guess existing version of the data layer.