public class QuarkusFlywayResourceProvider extends Object implements org.flywaydb.core.api.ResourceProvider
Scanner
TODO: refactor upstream to move common methods to utility class| Constructor and Description |
|---|
QuarkusFlywayResourceProvider(Collection<org.flywaydb.core.api.resource.LoadableResource> resources) |
| Modifier and Type | Method and Description |
|---|---|
org.flywaydb.core.api.resource.LoadableResource |
getResource(String name) |
Collection<org.flywaydb.core.api.resource.LoadableResource> |
getResources(String prefix,
String... suffixes)
Returns all known resources starting with the specified prefix and ending with any of the specified suffixes.
|
public QuarkusFlywayResourceProvider(Collection<org.flywaydb.core.api.resource.LoadableResource> resources)
public org.flywaydb.core.api.resource.LoadableResource getResource(String name)
getResource in interface org.flywaydb.core.api.ResourceProviderpublic Collection<org.flywaydb.core.api.resource.LoadableResource> getResources(String prefix, String... suffixes)
getResources in interface org.flywaydb.core.api.ResourceProviderprefix - The prefix of the resource names to match.suffixes - The suffixes of the resource names to match.Copyright © 2021 JBoss by Red Hat. All rights reserved.