Class RequestRenameJobAction
- java.lang.Object
-
- com.michelin.cio.jenkins.plugin.requests.action.RequestRenameJobAction
-
- All Implemented Interfaces:
Action
,ModelObject
public class RequestRenameJobAction extends Object implements Action
-
-
Constructor Summary
Constructors Constructor Description RequestRenameJobAction(Job<?,?> target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.kohsuke.stapler.HttpResponse
doCreateRenameJobRequest(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
String
getDisplayName()
String
getIconClassName()
String
getIconFileName()
Job<?,?>
getProject()
String
getUrlName()
-
-
-
Constructor Detail
-
RequestRenameJobAction
public RequestRenameJobAction(Job<?,?> target)
-
-
Method Detail
-
doCreateRenameJobRequest
@POST public org.kohsuke.stapler.HttpResponse doCreateRenameJobRequest(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws IOException, javax.servlet.ServletException, javax.mail.MessagingException
- Throws:
IOException
javax.servlet.ServletException
javax.mail.MessagingException
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getIconClassName
public String getIconClassName()
-
getProject
public Job<?,?> getProject()
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
-