mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-05-07 22:06:31 +02:00
Log steps for updates
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user