Class QuickDiskUsagePlugin

java.lang.Object
hudson.Plugin
com.cloudbees.simplediskusage.QuickDiskUsagePlugin
All Implemented Interfaces:
Saveable, Loadable, org.kohsuke.stapler.StaplerProxy

@Extension @Singleton public class QuickDiskUsagePlugin extends Plugin
  • Field Details

  • Constructor Details

    • QuickDiskUsagePlugin

      public QuickDiskUsagePlugin()
  • Method Details

    • start

      public void start() throws Exception
      Overrides:
      start in class Plugin
      Throws:
      Exception
    • refreshData

      public void refreshData()
    • refreshDataOnStartup

      public void refreshDataOnStartup()
    • getDirectoriesUsages

      public CopyOnWriteArrayList<DiskItem> getDirectoriesUsages() throws IOException
      Throws:
      IOException
    • getJobsUsages

      public CopyOnWriteArrayList<JobDiskItem> getJobsUsages() throws IOException
      Throws:
      IOException
    • getLastRunStart

      public long getLastRunStart()
    • getLastRunEnd

      public long getLastRunEnd()
    • getSince

      public String getSince()
    • getDuration

      public String getDuration()
    • isRunning

      public boolean isRunning()
    • doRefresh

      public void doRefresh(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 res) throws IOException, jakarta.servlet.ServletException
      Throws:
      IOException
      jakarta.servlet.ServletException
    • doClean

      public void doClean(org.kohsuke.stapler.StaplerRequest2 req, org.kohsuke.stapler.StaplerResponse2 res) throws IOException, jakarta.servlet.ServletException
      Throws:
      IOException
      jakarta.servlet.ServletException
    • getItemsCount

      public int getItemsCount()
    • getProgress

      public int getProgress()