implementation("io.micronaut.flyway:micronaut-flyway")
+All Classes and Interfaces
+DataSource
is only specified in Flyway configuration and there is no Micronaut
+ DataSource defined.DataSource
defined for it.diff --git a/6.0.0-M9/api/allclasses-index.html b/6.0.0-M9/api/allclasses-index.html new file mode 100644 index 00000000..ed8409ab --- /dev/null +++ b/6.0.0-M9/api/allclasses-index.html @@ -0,0 +1,104 @@ + + +
+ +DataSource
is only specified in Flyway configuration and there is no Micronaut
+ DataSource defined.DataSource
defined for it.public static final boolean
false
public static final boolean
false
public static final boolean
true
You can search for definitions of modules, packages, types, fields, methods, system properties and other terms defined in the API, using some or all of the name, optionally using "camelCase" abbreviations. For example:
+j.l.obj
will match "java.lang.Object"InpStr
will match "java.io.InputStream"HM.cK
will match "java.util.HashMap.containsKey(Object)"Refer to the Javadoc Search Specification for a full description of search features.
+The Overview page is the front page of this API document and provides a list of all packages with a summary for each. This page can also contain an overall description of the set of packages.
+Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain the following categories:
+Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a declaration and description, member summary tables, and detailed member descriptions. Entries in each of these sections are omitted if they are empty or not applicable.
+Note: Annotation interfaces have required and optional elements, but not methods. Only enum classes have enum constants. The components of a record class are displayed as part of the declaration of the record class. Properties are a feature of JavaFX.
+The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.
+Packages and modules may contain pages with additional information related to the declarations nearby.
+There is a Class Hierarchy page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with java.lang.Object
. Interfaces do not inherit from java.lang.Object
.
The Constant Field Values page lists the static final fields and their values.
+Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to those who implement rather than use the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See Also" section of the class description.
+The All Packages page contains an alphabetic index of all packages contained in the documentation.
+The All Classes and Interfaces page contains an alphabetic index of all classes and interfaces contained in the documentation, including annotation interfaces, enum classes, and record classes.
+The Index contains an alphabetic index of all classes, interfaces, constructors, methods, and fields in the documentation, as well as summary pages such as All Packages, All Classes and Interfaces.
+DataSource
is only specified in Flyway configuration and there is no Micronaut
+ DataSource defined.DataSource
defined for it.io.micronaut.context.event.BeanCreatedEventListener<FlywayConfigurationProperties>
, EventListener
DataSource
is only specified in Flyway configuration and there is no Micronaut
+ DataSource defined.protected final io.micronaut.context.ApplicationContext
AlternativeMigrationRunner(io.micronaut.context.ApplicationContext applicationContext,
+ io.micronaut.context.event.ApplicationEventPublisher eventPublisher)
onCreated(io.micronaut.context.event.BeanCreatedEvent<FlywayConfigurationProperties> event)
applicationContext
- The application contexteventPublisher
- The event publisheronCreated
in interface io.micronaut.context.event.BeanCreatedEventListener<FlywayConfigurationProperties>
io.micronaut.context.event.BeanCreatedEventListener<DataSource>
, EventListener
DataSource
defined for it.protected final io.micronaut.context.ApplicationContext
DataSourceMigrationRunner(io.micronaut.context.ApplicationContext applicationContext,
+ io.micronaut.context.event.ApplicationEventPublisher eventPublisher,
+ @Nullable io.micronaut.jdbc.DataSourceResolver dataSourceResolver)
onCreated(io.micronaut.context.event.BeanCreatedEvent<DataSource> event)
applicationContext
- The application contexteventPublisher
- The event publisherdataSourceResolver
- The data source resolveronCreated
in interface io.micronaut.context.event.BeanCreatedEventListener<DataSource>
io.micronaut.core.util.Toggleable
FluentConfiguration
static final boolean
static final boolean
static final boolean
org.flywaydb.core.api.configuration.FluentConfiguration
getUrl()
getUser()
boolean
boolean
isAsync()
boolean
boolean
void
setAsync(boolean async)
void
setCleanSchema(boolean cleanSchema)
void
setEnabled(boolean enabled)
void
setPassword(String password)
void
void
void
setUsername(String username)
name
- The name qualifier.isEnabled
in interface io.micronaut.core.util.Toggleable
enabled
- true if it is enabledasync
- true to run flyway migrations asynchronouslycleanSchema
- true to clean the schema before running the migrations.url
- The JDBC url of the database to migrateuser
- The user of the database to migrateusername
- The username of the database to migratepassword
- The password of the database to migrateDataSource
defined for the application but if both url
and user
are defined,
+ then those will be use for Flyway.+ The Flyway configuration should be: + flyway.enabled = true + flyway.datasources.*.enabled = false +
+ This ensures that Flyway won't run automatically the migrations. The following service can then be injected later
+ and execute run
to execute the migrations based on a given FlywayConfigurationProperties
.
protected final io.micronaut.context.ApplicationContext
void
run(FlywayConfigurationProperties config,
+ DataSource dataSource)
config
- The FlywayConfigurationProperties
dataSource
- The DataSource
org.graalvm.nativeimage.hosted.Feature
org.graalvm.nativeimage.hosted.Feature.AfterAnalysisAccess, org.graalvm.nativeimage.hosted.Feature.AfterCompilationAccess, org.graalvm.nativeimage.hosted.Feature.AfterHeapLayoutAccess, org.graalvm.nativeimage.hosted.Feature.AfterImageWriteAccess, org.graalvm.nativeimage.hosted.Feature.AfterRegistrationAccess, org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess, org.graalvm.nativeimage.hosted.Feature.BeforeCompilationAccess, org.graalvm.nativeimage.hosted.Feature.BeforeImageWriteAccess, org.graalvm.nativeimage.hosted.Feature.BeforeUniverseBuildingAccess, org.graalvm.nativeimage.hosted.Feature.CompilationAccess, org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess, org.graalvm.nativeimage.hosted.Feature.DuringSetupAccess, org.graalvm.nativeimage.hosted.Feature.FeatureAccess, org.graalvm.nativeimage.hosted.Feature.IsInConfigurationAccess, org.graalvm.nativeimage.hosted.Feature.OnAnalysisExitAccess, org.graalvm.nativeimage.hosted.Feature.QueryReachabilityAccess
void
beforeAnalysis(org.graalvm.nativeimage.hosted.Feature.BeforeAnalysisAccess access)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
afterAnalysis, afterCompilation, afterHeapLayout, afterImageWrite, afterRegistration, beforeCompilation, beforeImageWrite, beforeUniverseBuilding, cleanup, duringAnalysis, duringSetup, getDescription, getRequiredFeatures, getURL, isInConfiguration, onAnalysisExit
beforeAnalysis
in interface org.graalvm.nativeimage.hosted.Feature
io.micronaut.core.convert.TypeConverter<String,org.flywaydb.core.api.pattern.ValidatePattern>
ValidatePattern
convert
in interface io.micronaut.core.convert.TypeConverter<String,org.flywaydb.core.api.pattern.ValidatePattern>
FlywayEndpoint(io.micronaut.context.ApplicationContext applicationContext,
+ Collection<FlywayConfigurationProperties> flywayConfigurationProperties)
applicationContext
- The ApplicationContext
flywayConfigurationProperties
- Collection of Flyway ConfigurationsFlywayReport(String name,
+ List<org.flywaydb.core.api.MigrationInfo> changeSets)
name
- The name of the data sourcechangeSets
- The list of changesSerializable
source
getSource, toString
config
- The Flyway configuration that corresponds to the
+ Flyway instance that has been migratedSerializable
source
getSource, toString
config
- The Flyway configuration that corresponds
+ to the schema that was cleanedDataSource
is only specified in Flyway configuration and there is no Micronaut
+ DataSource defined.DataSource
defined for it.