Class RailflowPublisher.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Publisher>
io.jenkins.plugins.railflow.jenkins.testresults.RailflowPublisher.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
RailflowPublisher

@Extension @Symbol("railflow") public static final class RailflowPublisher.DescriptorImpl extends BuildStepDescriptor<Publisher>
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getDisplayName

      @Nonnull public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<Publisher>
    • isApplicable

      public boolean isApplicable(Class<? extends AbstractProject> jobType)
      Specified by:
      isApplicable in class BuildStepDescriptor<Publisher>
    • newInstance

      public Publisher newInstance(@Nullable org.kohsuke.stapler.StaplerRequest req, @Nonnull net.sf.json.JSONObject formData)
      Overrides:
      newInstance in class Descriptor<Publisher>
    • removeSearchModeKeyFromConfigsIfEmpty

      public void removeSearchModeKeyFromConfigsIfEmpty(net.sf.json.JSONObject jobConfigurations)
    • getTestRailServerNames

      public List<TestRailServerConfig> getTestRailServerNames()
    • getReportFormats

      public Map<ReportFormat,String> getReportFormats()
    • getSearchModes

      public Map<SearchMode,String> getSearchModes()
    • getUploadModes

      public Map<UploadMode,String> getUploadModes()
    • doCheckTestRailProjectName

      public FormValidation doCheckTestRailProjectName(@QueryParameter String testRailProjectName)
      Do check project name.
      Parameters:
      testRailProjectName - the test rail project
      Returns:
      the form validation
    • doCheckTestCasePath

      public FormValidation doCheckTestCasePath(@QueryParameter String testCasePath, @QueryParameter ReportFormat testReportFormat)
      Do check test path.
      Parameters:
      testCasePath - the test path
      testReportFormat - report format
      Returns:
      the form validation
    • doCheckSearchMode

      public FormValidation doCheckSearchMode(@QueryParameter String searchMode)
      Do check search mode.
      Parameters:
      searchMode - the searchMode
      Returns:
      the form validation
    • doCheckResultFilePattern

      public FormValidation doCheckResultFilePattern(@QueryParameter String resultFilePattern)
      Do check project name.
      Parameters:
      resultFilePattern - result pattern
      Returns:
      the form validation
    • doCheckMilestonePath

      public FormValidation doCheckMilestonePath(@QueryParameter String milestonePath)
      Do check milestone path.
      Parameters:
      milestonePath - milestonePath
      Returns:
      the form validation
    • doCheckJiraProjectKey

      public FormValidation doCheckJiraProjectKey(@QueryParameter String jiraProjectKey)
      Do check JIRA project key.
      Parameters:
      jiraProjectKey - the JIRA project key.
      Returns:
      the form validation
    • doCheckRunId

      public FormValidation doCheckRunId(@QueryParameter String runId)
      Do check run id.
      Parameters:
      runId - the run id.
      Returns:
      the form validation