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.
  • Field Details

  • Constructor Details

    • VectorCASTJobDiag

      public VectorCASTJobDiag()
  • Method Details

    • getUrlName

      public String getUrlName()
      Get the diagnostics job URL.
      Specified by:
      getUrlName in interface Action
      Overrides:
      getUrlName in class JobBase
      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 objext
      response - response object
      Returns:
      http response
      Throws:
      javax.servlet.ServletException - exception
      IOException - exception
      Descriptor.FormException - exception