Class VectorCASTJobDiag
- java.lang.Object
-
- com.vectorcast.plugins.vectorcastexecution.JobBase
-
- com.vectorcast.plugins.vectorcastexecution.VectorCASTJobDiag
-
- All Implemented Interfaces:
ExtensionPoint
,Action
,Describable<JobBase>
,ModelObject
@Extension public class VectorCASTJobDiag extends JobBase
Create VectorCAST diagnostic job.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VectorCASTJobDiag.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROJECT_NAME
Name of diagnostic job.
-
Constructor Summary
Constructors Constructor Description VectorCASTJobDiag()
-
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 diagnostics job.protected org.kohsuke.stapler.StaplerRequest
getRequest()
Get request.protected org.kohsuke.stapler.StaplerResponse
getResponse()
Get response.String
getUrlName()
Get the diagnostics job URL.boolean
isExists()
Check if the diagnostics job exists.-
Methods inherited from class com.vectorcast.plugins.vectorcastexecution.JobBase
all, getDescriptor, getDisplayName, getIconFileName, getTheScm, setTheScm
-
-
-
-
Field Detail
-
PROJECT_NAME
public static final String PROJECT_NAME
Name of diagnostic job.- See Also:
- Constant Field Values
-
-
Method Detail
-
getUrlName
public String getUrlName()
Get the diagnostics job URL.- Specified by:
getUrlName
in interfaceAction
- Overrides:
getUrlName
in classJobBase
- Returns:
- url
-
isExists
public boolean isExists()
Check if the diagnostics job exists.- Returns:
- true if it exists and false if not
-
getResponse
protected org.kohsuke.stapler.StaplerResponse getResponse()
Get response.- Returns:
- response
-
getRequest
protected org.kohsuke.stapler.StaplerRequest getRequest()
Get request.- Returns:
- request
-
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 diagnostics job.- Parameters:
request
- request objextresponse
- response object- Returns:
- http response
- Throws:
javax.servlet.ServletException
- exceptionIOException
- exceptionDescriptor.FormException
- exception
-
-