org.hudsonci.plugins.vault.ui
Class UploadsUI

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

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

User-interface for managing file uploads.

Author:
Jason Dillon

Field Summary
 
Fields inherited from class org.hudsonci.utils.plugin.ui.UIComponentSupport
parent
 
Constructor Summary
UploadsUI(VaultUI parent)
           
 
Method Summary
 void doUpload(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse resp)
           
 String getDisplayName()
           
 Object getDynamic(String name, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse resp)
           
 File[] getFiles()
          Lists all files in the uploads directory.
 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

UploadsUI

public UploadsUI(VaultUI parent)
Method Detail

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<VaultUI>

getFiles

@JellyAccessible
public File[] getFiles()
Lists all files in the uploads directory.


getDynamic

@StaplerAccessible
public Object getDynamic(String name,
                                           org.kohsuke.stapler.StaplerRequest req,
                                           org.kohsuke.stapler.StaplerResponse resp)

doUpload

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


Copyright © 2004-2012 Hudson. All Rights Reserved.