Class VectorCASTJobSingle
- java.lang.Object
-
- com.vectorcast.plugins.vectorcastexecution.JobBase
-
- com.vectorcast.plugins.vectorcastexecution.VectorCASTJobSingle
-
- All Implemented Interfaces:
ExtensionPoint
,Action
,Describable<JobBase>
,ModelObject
@Extension public class VectorCASTJobSingle extends JobBase
Create single job.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VectorCASTJobSingle.DescriptorImpl
Extension of JobBaseDescriptor.-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description VectorCASTJobSingle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.kohsuke.stapler.HttpResponse
doCreate(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
Create the single job.JobAlreadyExistsException
getException()
Get job already exists exception.String
getProjectName()
Get the project name.String
getUrlName()
Get url name for creating single job.-
Methods inherited from class com.vectorcast.plugins.vectorcastexecution.JobBase
all, getDescriptor, getDisplayName, getIconFileName, getTheScm, setTheScm
-
-
-
-
Method Detail
-
getProjectName
public String getProjectName()
Get the project name.- Returns:
- project name
-
getException
public JobAlreadyExistsException getException()
Get job already exists exception.- Returns:
- exception
-
getUrlName
public String getUrlName()
Get url name for creating single job.- Specified by:
getUrlName
in interfaceAction
- Overrides:
getUrlName
in classJobBase
- Returns:
- url
-
doCreate
public org.kohsuke.stapler.HttpResponse doCreate(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response) throws javax.servlet.ServletException, IOException, Descriptor.FormException
Create the single job.- Parameters:
request
- request objectresponse
- response object- Returns:
- response
- Throws:
javax.servlet.ServletException
- exceptionIOException
- exceptionDescriptor.FormException
- exception
-
-