public class MigrationVersionResourceProvider extends Object
MigrationVersionResource.
Created by tchemit on 05/05/2018.
| Modifier and Type | Field and Description |
|---|---|
protected Map<org.nuiton.version.Version,MigrationVersionResource> |
resources
Available migration resources found in class-path indexed by their version.
|
| Modifier | Constructor and Description |
|---|---|
protected |
MigrationVersionResourceProvider() |
| Modifier and Type | Method and Description |
|---|---|
static MigrationVersionResourceProvider |
get() |
List<org.nuiton.version.Version> |
getAvailableVersions() |
org.nuiton.version.Version |
getLastVersion() |
MigrationVersionResource |
getResource(org.nuiton.version.Version version) |
com.google.common.collect.ImmutableList<org.nuiton.version.Version> |
getVersionsAfter(org.nuiton.version.Version current) |
protected final Map<org.nuiton.version.Version,MigrationVersionResource> resources
public static MigrationVersionResourceProvider get()
public List<org.nuiton.version.Version> getAvailableVersions()
public org.nuiton.version.Version getLastVersion()
public com.google.common.collect.ImmutableList<org.nuiton.version.Version> getVersionsAfter(org.nuiton.version.Version current)
public MigrationVersionResource getResource(org.nuiton.version.Version version)
Copyright © 2018 Ultreia.io. All rights reserved.