Class CucumberGlobalConfiguration

java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
io.jenkins.plugins.CucumberGlobalConfiguration
All Implemented Interfaces:
hudson.model.Saveable, jenkins.util.io.OnMaster

@Extension
public final class CucumberGlobalConfiguration
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
  • Nested Class Summary

    Nested classes/interfaces inherited from class hudson.model.Descriptor

    hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType, hudson.model.Descriptor.Self
  • Field Summary

    Fields inherited from class hudson.model.Descriptor

    clazz

    Fields inherited from interface hudson.model.Saveable

    NOOP
  • Constructor Summary

    Constructors 
    Constructor Description
    CucumberGlobalConfiguration()
    In order to load the persisted global configuration, you have to call load() in the constructor.
  • Method Summary

    Modifier and Type Method Description
    boolean configure​(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)  
    hudson.util.ListBoxModel doFillReportFormatItems​(String reportFormat)  
    hudson.util.FormValidation doTestConfiguration​(String itmsAddress, String reportFolder, String jiraProjectKey, String jiraTicketKey, String itmsCycleName)  
    hudson.util.FormValidation doTestConnection​(String itmsServer, String username, String token)  
    AuthenticationInfo getAuthenticationInfo()  
    String getDisplayName()  
    String getItmsServer()  
    String getToken()  
    String getUsername()  
    boolean isApplicable​(Class<? extends hudson.model.AbstractProject> jobType)  

    Methods inherited from class hudson.tasks.BuildStepDescriptor

    filter

    Methods inherited from class hudson.model.Descriptor

    addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CucumberGlobalConfiguration

      public CucumberGlobalConfiguration()
      In order to load the persisted global configuration, you have to call load() in the constructor.
  • Method Details

    • configure

      public boolean configure​(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException
      Overrides:
      configure in class hudson.model.Descriptor<hudson.tasks.Publisher>
      Throws:
      hudson.model.Descriptor.FormException
    • isApplicable

      public boolean isApplicable​(Class<? extends hudson.model.AbstractProject> jobType)
      Specified by:
      isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
    • getDisplayName

      @Nonnull public String getDisplayName()
      Overrides:
      getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>
    • doTestConnection

      @POST public hudson.util.FormValidation doTestConnection​(@QueryParameter String itmsServer, @QueryParameter String username, @QueryParameter String token)
    • doTestConfiguration

      @POST public hudson.util.FormValidation doTestConfiguration​(@QueryParameter String itmsAddress, @QueryParameter String reportFolder, @QueryParameter String jiraProjectKey, @QueryParameter String jiraTicketKey, @QueryParameter String itmsCycleName)
    • doFillReportFormatItems

      public hudson.util.ListBoxModel doFillReportFormatItems​(@QueryParameter String reportFormat)
    • getItmsServer

      public String getItmsServer()
    • getUsername

      public String getUsername()
    • getToken

      public String getToken()
    • getAuthenticationInfo

      public AuthenticationInfo getAuthenticationInfo()