From e137907d0f987d1e7a5fbf284deabba5a9ae5172 Mon Sep 17 00:00:00 2001 From: idk Date: Tue, 4 Apr 2023 20:30:34 +0000 Subject: [PATCH] Start a migration handler --- .../i2p/router/web/helpers/JettyMigrationHelper.java | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 apps/routerconsole/java/src/net/i2p/router/web/helpers/JettyMigrationHelper.java diff --git a/apps/routerconsole/java/src/net/i2p/router/web/helpers/JettyMigrationHelper.java b/apps/routerconsole/java/src/net/i2p/router/web/helpers/JettyMigrationHelper.java new file mode 100644 index 0000000000..b0336bc577 --- /dev/null +++ b/apps/routerconsole/java/src/net/i2p/router/web/helpers/JettyMigrationHelper.java @@ -0,0 +1,10 @@ +package net.i2p.router.web.helpers; + +import net.i2p.router.web.HelperBase; + +public class JettyMigrationHelper extends HelperBase{ + public static final String PROP_COMPLETE = "routerconsole.jettyMigrationComplete"; + public void complete() { + _context.router().saveConfig(PROP_COMPLETE, "true"); + } +}