@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public class UpgradeWizard extends InstallState
InstallState.UPGRADE
Modifier and Type | Class and Description |
---|---|
static class |
UpgradeWizard.ListenForInstallComplete |
ExtensionPoint.LegacyInstancesAreScopedToHudson
CREATE_ADMIN_USER, DEVELOPMENT, DOWNGRADE, INITIAL_PLUGINS_INSTALLING, INITIAL_SECURITY_SETUP, INITIAL_SETUP_COMPLETED, NEW, RESTART, RUNNING, TEST, UNKNOWN, UPGRADE
Modifier and Type | Method and Description |
---|---|
org.kohsuke.stapler.HttpResponse |
doHideUpgradeWizard()
Call this to hide the upgrade wizard
|
org.kohsuke.stapler.HttpResponse |
doShowUpgradeWizard()
Call this to show the upgrade wizard
|
org.kohsuke.stapler.HttpResponse |
doSnooze()
Snooze the upgrade wizard notice.
|
static UpgradeWizard |
get()
Get the upgrade wizard instance
|
void |
initializeState()
Process any initialization this install state requires
|
boolean |
isDue()
Do we need to show the upgrade wizard prompt?
|
boolean |
isSetupComplete()
Indicates the initial setup is complete
|
boolean |
isShowUpgradeWizard()
Whether to show the upgrade wizard
|
equals, hashCode, name, readResolve, toString, valueOf
public static UpgradeWizard get()
public void initializeState()
InstallState
initializeState
in class InstallState
public boolean isSetupComplete()
InstallState
isSetupComplete
in class InstallState
public boolean isDue()
public boolean isShowUpgradeWizard()
public org.kohsuke.stapler.HttpResponse doShowUpgradeWizard() throws Exception
Exception
public org.kohsuke.stapler.HttpResponse doHideUpgradeWizard()
public org.kohsuke.stapler.HttpResponse doSnooze() throws IOException
IOException
Copyright © 2004–2017. All rights reserved.