Class Test.DescriptorImpl

All Implemented Interfaces:
Saveable, OnMaster, org.jenkinsci.plugins.structs.describable.CustomDescribableModel
Enclosing class:
Test

@Extension @Symbol("dotnetTest") public static final class Test.DescriptorImpl extends MSBuildCommandDescriptor
A descriptor for "dotnet test" build steps.
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
      Creates a new "dotnet test" build step descriptor instance.
  • Method Details

    • customUninstantiate

      @NonNull public org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable customUninstantiate(@NonNull org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable ud)
      Specified by:
      customUninstantiate in interface org.jenkinsci.plugins.structs.describable.CustomDescribableModel
      Overrides:
      customUninstantiate in class MSBuildCommandDescriptor
    • doCheckBlameHangTimeout

      @NonNull @POST public FormValidation doCheckBlameHangTimeout(@CheckForNull @QueryParameter Integer value, @CheckForNull @AncestorInPath Item item)
      Performs (basic) validation on a test timeout.
      Parameters:
      value - The timeout to validate.
      item - The item being configured.
      Returns:
      The validation result.
    • doCheckRunSettingsString

      @NonNull @POST public FormValidation doCheckRunSettingsString(@CheckForNull @QueryParameter String value, @CheckForNull @AncestorInPath Item item)
      Performs (basic) validation on a set of run settings.
      Parameters:
      value - The run settings to validate.
      item - The item being configured.
      Returns:
      The validation result.
    • doFillBlameCrashDumpTypeItems

      @NonNull @POST public ListBoxModel doFillBlameCrashDumpTypeItems(@CheckForNull @AncestorInPath Item item)
      Fills a listbox with the possible values for the dump types supported by --blame-crash-dump-type.
      Parameters:
      item - The item being configured.
      Returns:
      A suitably filled listbox model.
    • doFillBlameHangDumpTypeItems

      @NonNull @POST public ListBoxModel doFillBlameHangDumpTypeItems(@CheckForNull @AncestorInPath Item item)
      Fills a listbox with the possible values for the dump types supported by --blame-hang-dump-type.
      Parameters:
      item - The item being configured.
      Returns:
      A suitably filled listbox model.
    • getDisplayName

      @NonNull public String getDisplayName()
      Gets the display name for this build step (as used in the project configuration UI).
      Overrides:
      getDisplayName in class Descriptor<Builder>
      Returns:
      This build step's display name.
    • isApplicableToFreeStyleProjects

      protected boolean isApplicableToFreeStyleProjects(@NonNull DotNetConfiguration configuration)
      Description copied from class: CommandDescriptor
      Determines whether this command should be made available to freestyle projects.
      Overrides:
      isApplicableToFreeStyleProjects in class CommandDescriptor
      Parameters:
      configuration - The applicable configuration.
      Returns:
      true when the command should be available for use in freestyle projects; false otherwise.