public interface MigrationStrategy
Modifier and Type | Method and Description |
---|---|
default ThrowingConsumer<Document> |
end()
Method to complete the migration.
|
ThrowingConsumer<Document> |
from1_0to1_1()
Method to obtain the migration function from 1.0 to 1.1
|
ThrowingConsumer<Document> |
from1_1to1_2()
Method to obtain the migration function from 1.1 to 1.2
|
ThrowingConsumer<Document> |
from1_2to1_3()
Method to obtain the migration function from 1.2 to 1.3
|
ThrowingConsumer<Document> |
from1_3to1_4()
Method to obtain the migration function from 1.3 to 1.4
|
ThrowingConsumer<Document> |
from1_4to1_5()
Method to obtain the migration function from 1.4 to 1.5
|
ThrowingConsumer<Document> |
from1_5to1_6()
Method to obtain the migration function from 1.5 to 1.6
|
ThrowingConsumer<Document> |
from1_6to1_7()
Method to obtain the migration function from 1.6 to 1.7
|
ThrowingConsumer<Document> |
from1_7to1_8()
Method to obtain the migration function from 1.7 to 1.8
|
default ThrowingConsumer<Document> |
start()
Method to initialize migration strategy composition
|
default void |
updateVersion(Document document,
String newVersion) |
default ThrowingConsumer<Document> start()
ThrowingConsumer<Document> from1_0to1_1()
ThrowingConsumer<Document> from1_1to1_2()
ThrowingConsumer<Document> from1_2to1_3()
ThrowingConsumer<Document> from1_3to1_4()
ThrowingConsumer<Document> from1_4to1_5()
ThrowingConsumer<Document> from1_5to1_6()
ThrowingConsumer<Document> from1_6to1_7()
ThrowingConsumer<Document> from1_7to1_8()
default ThrowingConsumer<Document> end()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.