Log steps for updates

This commit is contained in:
René Pfeuffer
2019-05-15 13:29:50 +02:00
parent 93dbaeae7c
commit ed7c2a01e7
4 changed files with 52 additions and 8 deletions

View File

@@ -0,0 +1,11 @@
package sonia.scm.migration;
public class UpdateException extends RuntimeException {
public UpdateException(String message) {
super(message);
}
public UpdateException(String message, Throwable cause) {
super(message, cause);
}
}

View File

@@ -5,9 +5,9 @@ import sonia.scm.version.Version;
@ExtensionPoint
public interface UpdateStep {
void doUpdate();
void doUpdate() throws Exception;
Version getTargetVersion();
String affectedDataType();
String getAffectedDataType();
}