Class IdStoreMigratorV1ToV2
java.lang.Object
org.jenkinsci.plugins.uniqueid.impl.IdStoreMigratorV1ToV2
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
@Extension
public class IdStoreMigratorV1ToV2
extends Object
Converts legacy UniqueIDs that are stored inside a Folder/Job/Run configuration to UniqueIDs that are stored alongside the Folder/Job/Run.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Migrates any IDs stored in Folder/Job/Run configuration
-
Constructor Details
-
IdStoreMigratorV1ToV2
public IdStoreMigratorV1ToV2()
-
-
Method Details
-
migrateIdStore
@Initializer(after=JOB_LOADED, before=COMPLETED, fatal=true) public static void migrateIdStore() throws IOExceptionMigrates any IDs stored in Folder/Job/Run configuration- Throws:
IOException
-