Klasse CoverageStep.Descriptor

java.lang.Object
hudson.model.Descriptor<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.StepDescriptor
io.jenkins.plugins.coverage.metrics.steps.CoverageStep.Descriptor
Alle implementierten Schnittstellen:
Saveable, OnMaster
Umschließende Klasse:
CoverageStep

@Extension public static class CoverageStep.Descriptor extends org.jenkinsci.plugins.workflow.steps.StepDescriptor
Descriptor for this step: defines the context and the UI labels.
  • Konstruktordetails

    • Descriptor

      public Descriptor()
  • Methodendetails

    • getFunctionName

      public String getFunctionName()
      Angegeben von:
      getFunctionName in Klasse org.jenkinsci.plugins.workflow.steps.StepDescriptor
    • getDisplayName

      @NonNull public String getDisplayName()
      Setzt außer Kraft:
      getDisplayName in Klasse Descriptor<org.jenkinsci.plugins.workflow.steps.Step>
    • getRequiredContext

      public Set<? extends Class<?>> getRequiredContext()
      Angegeben von:
      getRequiredContext in Klasse org.jenkinsci.plugins.workflow.steps.StepDescriptor
    • argumentsToString

      public String argumentsToString(@NonNull Map<String,Object> namedArgs)
      Setzt außer Kraft:
      argumentsToString in Klasse org.jenkinsci.plugins.workflow.steps.StepDescriptor
    • doFillSourceCodeRetentionItems

      @POST public ListBoxModel doFillSourceCodeRetentionItems()
      Returns a model with all SourceCodeRetention strategies.
      Gibt zurück:
      a model with all SourceCodeRetention strategies.
    • doFillChecksAnnotationScopeItems

      @POST public ListBoxModel doFillChecksAnnotationScopeItems()
      Returns a model with all CoverageRecorder.ChecksAnnotationScope scopes.
      Gibt zurück:
      a model with all CoverageRecorder.ChecksAnnotationScope scopes.
    • doFillSourceCodeEncodingItems

      @POST public ComboBoxModel doFillSourceCodeEncodingItems()
      Returns a model with all available charsets.
      Gibt zurück:
      a model with all available charsets
    • doCheckSourceCodeEncoding

      @POST public FormValidation doCheckSourceCodeEncoding(@AncestorInPath BuildableItem project, @QueryParameter String sourceCodeEncoding)
      Performs on-the-fly validation on the character encoding.
      Parameter:
      project - the project that is configured
      sourceCodeEncoding - the character encoding
      Gibt zurück:
      the validation result
    • doCheckId

      @POST public FormValidation doCheckId(@AncestorInPath BuildableItem project, @QueryParameter String id)
      Performs on-the-fly validation of the ID.
      Parameter:
      project - the project that is configured
      id - the ID of the tool
      Gibt zurück:
      the validation result