Class VectorCASTJobPipeline
- java.lang.Object
-
- com.vectorcast.plugins.vectorcastexecution.JobBase
-
- com.vectorcast.plugins.vectorcastexecution.VectorCASTJobPipeline
-
- All Implemented Interfaces:
ExtensionPoint,Action,Describable<JobBase>,ModelObject
@Extension public class VectorCASTJobPipeline extends JobBase
Create multiple jobs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVectorCASTJobPipeline.DescriptorImpl-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description VectorCASTJobPipeline()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.kohsuke.stapler.HttpResponsedoCreate(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)Create pipeline job.JobAlreadyExistsExceptiongetException()Get the job already exists exception.NewPipelineJobgetJob()Get the pipeline job object.StringgetProjectName()Get the project name.ExternalResultsFileExceptiongetResException()Get the job already scm conflict exception.ScmConflictExceptiongetScmException()Get the job already scm conflict exception.StringgetUrlName()URL for creating pipeline job.-
Methods inherited from class com.vectorcast.plugins.vectorcastexecution.JobBase
all, getDescriptor, getDisplayName, getIconFileName, getTheScm, setTheScm
-
-
-
-
Method Detail
-
getJob
public NewPipelineJob getJob()
Get the pipeline job object.- Returns:
- pipeline job
-
getProjectName
public String getProjectName()
Get the project name.- Returns:
- project name
-
getException
public JobAlreadyExistsException getException()
Get the job already exists exception.- Returns:
- job already exists exception
-
getScmException
public ScmConflictException getScmException()
Get the job already scm conflict exception.- Returns:
- job already scm conflict exception
-
getResException
public ExternalResultsFileException getResException()
Get the job already scm conflict exception.- Returns:
- job already scm conflict exception
-
getUrlName
public String getUrlName()
URL for creating pipeline job.- Specified by:
getUrlNamein interfaceAction- Overrides:
getUrlNamein 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.FormExceptionCreate pipeline job.- Parameters:
request- request objextresponse- response object- Returns:
- response
- Throws:
javax.servlet.ServletException- exceptionIOException- exceptionDescriptor.FormException- exception
-
-