org.hudsonci.plugins.vault.ui
Class UploadedFileUI

java.lang.Object
  extended by org.hudsonci.utils.plugin.ui.UIComponentSupport<P>
      extended by org.hudsonci.utils.plugin.ui.AdministratorUIComponent<UploadsUI>
          extended by org.hudsonci.plugins.vault.ui.UploadedFileUI
All Implemented Interfaces:
hudson.model.Action, hudson.model.ModelObject

public class UploadedFileUI
extends org.hudsonci.utils.plugin.ui.AdministratorUIComponent<UploadsUI>

User-interface for uploaded file.

Author:
Jason Dillon

Field Summary
 
Fields inherited from class org.hudsonci.utils.plugin.ui.UIComponentSupport
parent
 
Constructor Summary
UploadedFileUI(UploadsUI parent, File data)
           
 
Method Summary
 void doDelete(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse resp)
           
 void doExtract(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse resp, String path)
           
 File getData()
           
 String getDisplayName()
           
 String getIconFileName()
           
 
Methods inherited from class org.hudsonci.utils.plugin.ui.AdministratorUIComponent
checkPermission, getViewPermission
 
Methods inherited from class org.hudsonci.utils.plugin.ui.UIComponentSupport
checkPermission, getBaseRestURI, getHelpPath, getIconFileName, getIconPath, getImagesPath, getPageTitle, getParent, getPluginName, getPluginPath, getPluginWrapper, getRootPath, getSidePanelOwner, getUrlName, redirect, redirectAncestor, redirectAncestor, redirectParent, redirectSelf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UploadedFileUI

public UploadedFileUI(UploadsUI parent,
                      File data)
Method Detail

getData

@JellyAccessible
public File getData()

getDisplayName

public String getDisplayName()

getIconFileName

public String getIconFileName()
Specified by:
getIconFileName in interface hudson.model.Action
Overrides:
getIconFileName in class org.hudsonci.utils.plugin.ui.UIComponentSupport<UploadsUI>

doDelete

@StaplerAccessible
public void doDelete(org.kohsuke.stapler.StaplerRequest req,
                                       org.kohsuke.stapler.StaplerResponse resp)
              throws Exception
Throws:
Exception

doExtract

@StaplerAccessible
public void doExtract(org.kohsuke.stapler.StaplerRequest req,
                                        org.kohsuke.stapler.StaplerResponse resp,
                                        @QueryParameter(value="path",required=true,fixEmpty=true)
                                        String path)
               throws Exception
Throws:
Exception


Copyright © 2004-2012 Hudson. All Rights Reserved.