Class Restore.DescriptorImpl

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

@Extension @Symbol("dotnetRestore") public static final class Restore.DescriptorImpl extends CommandDescriptor
A descriptor for "dotnet restore" build steps.
  • Constructor Details

    • DescriptorImpl

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

    • customUninstantiate

      @NonNull public org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable customUninstantiate(@NonNull org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable ud)
    • 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.