com.cloudbees.jenkins.plugins.file_leak_detector
Class FileHandleDump

java.lang.Object
  extended by hudson.model.ManagementLink
      extended by com.cloudbees.jenkins.plugins.file_leak_detector.FileHandleDump
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Action, hudson.model.ModelObject

@Extension
public class FileHandleDump
extends hudson.model.ManagementLink

Author:
Kohsuke Kawaguchi

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.model.ManagementLink
LIST
 
Constructor Summary
FileHandleDump()
           
 
Method Summary
 org.kohsuke.stapler.HttpResponse doActivate(java.lang.String opts)
          Activates the file leak detector.
 org.kohsuke.stapler.HttpResponse doIndex(org.kohsuke.stapler.StaplerResponse response)
          Dumps the currently opened files.
 java.lang.String getDescription()
           
 java.lang.String getDisplayName()
           
 java.lang.String getIconFileName()
           
 java.lang.String getUrlName()
           
protected  void requirePOST()
           
 
Methods inherited from class hudson.model.ManagementLink
all
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileHandleDump

public FileHandleDump()
Method Detail

getIconFileName

public java.lang.String getIconFileName()
Specified by:
getIconFileName in interface hudson.model.Action
Specified by:
getIconFileName in class hudson.model.ManagementLink

getDisplayName

public java.lang.String getDisplayName()

getUrlName

public java.lang.String getUrlName()
Specified by:
getUrlName in interface hudson.model.Action
Specified by:
getUrlName in class hudson.model.ManagementLink

getDescription

public java.lang.String getDescription()
Overrides:
getDescription in class hudson.model.ManagementLink

doIndex

public org.kohsuke.stapler.HttpResponse doIndex(org.kohsuke.stapler.StaplerResponse response)
                                         throws java.lang.Exception
Dumps the currently opened files.

Throws:
java.lang.Exception

doActivate

public org.kohsuke.stapler.HttpResponse doActivate(@QueryParameter
                                                   java.lang.String opts)
                                            throws java.lang.Exception
Activates the file leak detector.

Throws:
java.lang.Exception

requirePOST

protected final void requirePOST()
                          throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException


Copyright © 2004-2012. All Rights Reserved.