Class SecurityIsOffMonitor

    • Constructor Detail

      • SecurityIsOffMonitor

        public SecurityIsOffMonitor()
    • Method Detail

      • isActivated

        public boolean isActivated()
        Description copied from class: AdministrativeMonitor
        Returns true if this monitor is activated and wants to produce a warning message.

        This method is called from the HTML rendering thread, so it should run efficiently.

        Specified by:
        isActivated in class AdministrativeMonitor
      • isSecurity

        public boolean isSecurity()
        Description copied from class: AdministrativeMonitor
        Returns true if this monitor is security related. This will be used to determine which icon will be used in the navigation bar.
        Overrides:
        isSecurity in class AdministrativeMonitor
      • doAct

        public void doAct​(org.kohsuke.stapler.StaplerRequest req,
                          org.kohsuke.stapler.StaplerResponse rsp)
                   throws IOException
        Depending on whether the user said "yes" or "no", send him to the right place.
        Throws:
        IOException