Class BundleUploadMonitor

java.lang.Object
hudson.model.AbstractModelObject
hudson.model.AdministrativeMonitor
com.cloudbees.jenkins.plugins.advisor.BundleUploadMonitor
All Implemented Interfaces:
ExtensionPoint, ModelObject, SearchableModelObject, SearchItem, org.kohsuke.stapler.StaplerProxy

@Extension public class BundleUploadMonitor extends AdministrativeMonitor
Displays a message whenever there is an issue during the bundle upload process. This message will match any of the error messages in the log file.
  • Constructor Details

    • BundleUploadMonitor

      public BundleUploadMonitor()
  • Method Details

    • isActivated

      public boolean isActivated()
      Specified by:
      isActivated in class AdministrativeMonitor
    • getDisplayName

      public String getDisplayName()
      Specified by:
      getDisplayName in interface ModelObject
      Overrides:
      getDisplayName in class AdministrativeMonitor
    • doAct

      @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public void doAct(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 rsp) throws jakarta.servlet.ServletException, IOException
      Throws:
      jakarta.servlet.ServletException
      IOException
    • getFailureMessage

      public String getFailureMessage()
      Get the failure message from the last bundle upload.
      Returns:
      String the error message that was saved as part of the last BundleUpload