Class SpiraBuilder.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<BuildWrapper>
com.inflectra.spiratest.plugins.SpiraBuilder.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
SpiraBuilder

@Extension public static final class SpiraBuilder.DescriptorImpl extends Descriptor<BuildWrapper>
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • isApplicable

      public boolean isApplicable(Class<? extends AbstractProject> aClass)
    • getDisplayName

      public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<BuildWrapper>
    • configure

      public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
      Overrides:
      configure in class Descriptor<BuildWrapper>
      Throws:
      Descriptor.FormException
    • getUrl

      public String getUrl()
    • getUsername

      public String getUsername()
    • getPassword

      public Secret getPassword()
    • setPassword

      public void setPassword(Secret password)
    • doTestConnection

      @POST public FormValidation doTestConnection(@QueryParameter("url") String url, @QueryParameter("username") String username, @QueryParameter("password") String password) throws IOException, javax.servlet.ServletException
      Tests the connection to the SpiraTeam server. Requires Administrator permission and must be invoked via POST.
      Throws:
      IOException
      javax.servlet.ServletException
    • doVerifyRelease

      @POST public FormValidation doVerifyRelease(@QueryParameter("project") String project, @QueryParameter("release") String release) throws IOException, javax.servlet.ServletException
      Verifies that the project and release exist. Requires Administrator permission and must be invoked via POST.
      Throws:
      IOException
      javax.servlet.ServletException