Package hudson.util

Class HudsonIsRestarting

java.lang.Object
hudson.util.HudsonIsRestarting

public class HudsonIsRestarting extends Object
Model object used to display "Hudson is restarting".

Set this object to ServletContext.setAttribute(String, Object) "app" while the loading activity is taking place.

Author:
Kohsuke Kawaguchi
  • Constructor Details

    • HudsonIsRestarting

      public HudsonIsRestarting(boolean safeRestart)
      Since:
      2.414
    • HudsonIsRestarting

      @Deprecated public HudsonIsRestarting()
      Deprecated.
  • Method Details

    • doDynamic

      public void doDynamic(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) throws IOException, jakarta.servlet.ServletException, InterruptedException
      Throws:
      IOException
      jakarta.servlet.ServletException
      InterruptedException
    • isSafeRestart

      public boolean isSafeRestart()
      Since:
      2.414