Class Pack.DescriptorImpl

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

@Extension @Symbol("dotnetPack") public static final class Pack.DescriptorImpl extends MSBuildCommandDescriptor
A descriptor for "dotnet pack" build steps.
  • Constructor Details

    • DescriptorImpl

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

    • 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.