@Singleton
public class LiquibaseResourceAccessor
extends liquibase.resource.CompositeResourceAccessor
ResourceAccessor
.Constructor and Description |
---|
LiquibaseResourceAccessor(io.micronaut.context.env.Environment environment) |
Modifier and Type | Method and Description |
---|---|
protected static java.util.List<liquibase.resource.ResourceAccessor> |
buildResourceAccessors(io.micronaut.context.env.Environment environment) |
java.util.Set<java.io.InputStream> |
getResourcesAsStream(java.lang.String path) |
java.util.Set<java.lang.String> |
list(java.lang.String relativeTo,
java.lang.String path,
boolean includeFiles,
boolean includeDirectories,
boolean recursive) |
public LiquibaseResourceAccessor(io.micronaut.context.env.Environment environment)
environment
- The Micronaut environmentpublic java.util.Set<java.io.InputStream> getResourcesAsStream(java.lang.String path) throws java.io.IOException
getResourcesAsStream
in interface liquibase.resource.ResourceAccessor
getResourcesAsStream
in class liquibase.resource.CompositeResourceAccessor
java.io.IOException
public java.util.Set<java.lang.String> list(java.lang.String relativeTo, java.lang.String path, boolean includeFiles, boolean includeDirectories, boolean recursive) throws java.io.IOException
list
in interface liquibase.resource.ResourceAccessor
list
in class liquibase.resource.CompositeResourceAccessor
java.io.IOException
protected static java.util.List<liquibase.resource.ResourceAccessor> buildResourceAccessors(io.micronaut.context.env.Environment environment)
environment
- The environmentResourceAccessor
to look for migrations