|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.model.ManagementLink
com.seitenbau.jenkins.plugins.dynamicparameter.config.DynamicParameterManagement
@Extension public class DynamicParameterManagement
Plugin configuration.
| 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 | |
|---|---|
DynamicParameterManagement()
|
|
| Method Summary | |
|---|---|
org.kohsuke.stapler.HttpResponse |
doDeleteFile(String filePath)
Delete the specified file. |
void |
doDownloadFile(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response,
String filePath)
Download the specified file. |
org.kohsuke.stapler.HttpResponse |
doRenameFile(String oldName,
String newName)
Rename a file or a directory. |
org.kohsuke.stapler.HttpResponse |
doSetClassPathDir(String baseDirectory)
Set the base directory. |
org.kohsuke.stapler.HttpResponse |
doUploadFile(org.kohsuke.stapler.StaplerRequest request)
Upload a script file to the class path directory. |
static String |
getBaseDirectory()
Get the class path directory. |
String[] |
getClassPathDirectories()
Get a list of all class path directories. |
String |
getDescription()
|
String |
getDisplayName()
|
String |
getIconFileName()
|
String |
getLastClassPathDirectory()
Get the last used class path directory. |
String[] |
getUploadedFiles(String classPath)
Get a list with uploaded files. |
String |
getUrlName()
|
| 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 |
|---|
public DynamicParameterManagement()
| Method Detail |
|---|
public String getIconFileName()
getIconFileName in interface hudson.model.ActiongetIconFileName in class hudson.model.ManagementLinkpublic String getUrlName()
getUrlName in interface hudson.model.ActiongetUrlName in class hudson.model.ManagementLinkpublic String getDisplayName()
public String getDescription()
getDescription in class hudson.model.ManagementLink
public static String getBaseDirectory()
throws IOException
IOExceptionpublic String getLastClassPathDirectory()
public String[] getClassPathDirectories()
throws IOException
IOException
public String[] getUploadedFiles(String classPath)
throws IOException
classPath - class path directory to list
IOException
public void doDownloadFile(org.kohsuke.stapler.StaplerRequest request,
org.kohsuke.stapler.StaplerResponse response,
@QueryParameter(value="file")
String filePath)
throws javax.servlet.ServletException,
IOException
request - HTTP requestresponse - HTTP responsefilePath - file path
javax.servlet.ServletException
IOException
public org.kohsuke.stapler.HttpResponse doSetClassPathDir(@QueryParameter(value="baseDirectory")
String baseDirectory)
throws IOException,
javax.servlet.ServletException
baseDirectory - new base directory
index
IOException
javax.servlet.ServletException
public org.kohsuke.stapler.HttpResponse doUploadFile(org.kohsuke.stapler.StaplerRequest request)
throws Exception
request - HTTP request
index
Exception
public org.kohsuke.stapler.HttpResponse doDeleteFile(@QueryParameter(value="file")
String filePath)
throws IOException
filePath - file path
index
IOException
public org.kohsuke.stapler.HttpResponse doRenameFile(@QueryParameter(value="oldName")
String oldName,
@QueryParameter(value="newName")
String newName)
throws IOException
oldName - old namenewName - new name
index
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||