Class Publish.DescriptorImpl

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

@Extension @Symbol("dotnetPublish") public static final class Publish.DescriptorImpl extends MSBuildCommandDescriptor
A descriptor for "dotnet publish" build steps.
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
      Creates a new "dotnet publish" 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
    • doFillSelfContainedItems

      @NonNull @POST public ListBoxModel doFillSelfContainedItems(@CheckForNull @AncestorInPath Item item)
      Fills a listbox with the possible values for the "self-containing" setting.
      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.