Class Delete.DescriptorImpl

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

@Extension @Symbol("dotnetNuGetDelete") public static final class Delete.DescriptorImpl extends NuGetCommandDescriptor
A descriptor for "dotnet nuget delete" build steps.
  • Constructor Details

    • DescriptorImpl

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

    • doCheckPackageName

      @NonNull @POST public FormValidation doCheckPackageName(@CheckForNull @QueryParameter String value, @CheckForNull @AncestorInPath Item item)
      Performs validation on a NuGet package name.
      Parameters:
      value - The value to validate.
      item - The item being configured.
      Returns:
      The result of the validation.
    • doCheckPackageVersion

      @NonNull @POST public FormValidation doCheckPackageVersion(@CheckForNull @QueryParameter String value, @CheckForNull @QueryParameter String packageName, @CheckForNull @AncestorInPath Item item)
      Performs validation on a NuGet package version.
      Parameters:
      value - The value to validate.
      packageName - The name of package for which a version is being validated.
      item - The item being configured.
      Returns:
      The result of the validation.
    • doFillApiKeyIdItems

      @NonNull @POST public ListBoxModel doFillApiKeyIdItems(@CheckForNull @AncestorInPath Item item)
      Fills a listbox with all possible API keys (string credentials) defined in the system.
      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.