mirror of
https://github.com/tomasff/BeesPlus.git
synced 2024-06-26 14:24:47 +02:00
22 lines
431 B
Java
22 lines
431 B
Java
|
package com.tomff.beesplus.core.migrations;
|
||
|
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.List;
|
||
|
|
||
|
public class Migration {
|
||
|
private List<Operation> operations;
|
||
|
|
||
|
public Migration() {
|
||
|
this.operations = new ArrayList<>();
|
||
|
}
|
||
|
|
||
|
public Migration add(Operation operation) {
|
||
|
operations.add(operation);
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
public List<Operation> getOperations() {
|
||
|
return operations;
|
||
|
}
|
||
|
}
|