diff --git a/CHANGELOG.md b/CHANGELOG.md index 948b311b7b..bc6d2713ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Extension point to add links to the repository cards from plug ins ([#1041](https://github.com/scm-manager/scm-manager/pull/1041)) - Libc based restart strategy for posix operating systems ([#1079](https://github.com/scm-manager/scm-manager/pull/1079)) +- Simple restart strategy with System.exit ([#1079](https://github.com/scm-manager/scm-manager/pull/1079)) - Notification if restart is not supported on the underlying platform ([#1079](https://github.com/scm-manager/scm-manager/pull/1079)) ### Changed diff --git a/scm-core/src/main/java/sonia/scm/lifecycle/Restarter.java b/scm-core/src/main/java/sonia/scm/lifecycle/Restarter.java index 0b6c18f0a9..12f9279c80 100644 --- a/scm-core/src/main/java/sonia/scm/lifecycle/Restarter.java +++ b/scm-core/src/main/java/sonia/scm/lifecycle/Restarter.java @@ -43,6 +43,7 @@ public interface Restarter { * * @param cause cause of the restart. This should be the class which calls this method. * @param reason reason for the required restart. + * @throws RestartNotSupportedException if restarting is not supported by the underlying platform. */ void restart(Class cause, String reason); }