@Extension public class ConvertRootAction extends Object implements hudson.model.RootAction, hudson.model.Describable<ConvertRootAction>
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ConvertRootAction.ConvertRootActionDescriptor
Descriptor class to handle form validation. 
 | 
| Constructor and Description | 
|---|
ConvertRootAction()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
doConvert(org.kohsuke.stapler.StaplerRequest request,
         org.kohsuke.stapler.StaplerResponse response)
Handles submit action of convert button. 
 | 
hudson.model.Descriptor<ConvertRootAction> | 
getDescriptor()  | 
String | 
getDisplayName()  | 
String | 
getIconFileName()  | 
String | 
getUrlName()  | 
List | 
listFreeStyleJobs()
List FreeStyle Jobs at root level. 
 | 
public String getIconFileName()
getIconFileName in interface hudson.model.Actionpublic String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic String getUrlName()
getUrlName in interface hudson.model.Actionpublic void doConvert(org.kohsuke.stapler.StaplerRequest request,
                      org.kohsuke.stapler.StaplerResponse response)
               throws javax.servlet.ServletException,
                      IOException
request - StaplerRequest object from the form.response - StaplerResponse object that re-directs to newly created job.javax.servlet.ServletException - If a servlet encounters difficulty; servlet exception is thrown.IOException - If an input or output exception occurred.public List listFreeStyleJobs()
public hudson.model.Descriptor<ConvertRootAction> getDescriptor()
getDescriptor in interface hudson.model.Describable<ConvertRootAction>Copyright © 2016–2017. All rights reserved.