public class ConvertJobAction extends Object implements hudson.model.Action, hudson.model.Describable<ConvertJobAction>
| Modifier and Type | Class and Description |
|---|---|
static class |
ConvertJobAction.ActionInjector
Defines visibility level of action to FreeStyle items.
|
static class |
ConvertJobAction.ConvertJobActionDescriptor
Descriptor class to handle form validation.
|
| 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<ConvertJobAction> |
getDescriptor() |
String |
getDisplayName() |
String |
getIconFileName() |
String |
getUrlName() |
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 hudson.model.Descriptor<ConvertJobAction> getDescriptor()
getDescriptor in interface hudson.model.Describable<ConvertJobAction>Copyright © 2016–2017. All rights reserved.