Class ToolCommandDescriptor

All Implemented Interfaces:
Saveable, OnMaster, org.jenkinsci.plugins.structs.describable.CustomDescribableModel
Direct Known Subclasses:
Restore.DescriptorImpl

public abstract class ToolCommandDescriptor extends CommandDescriptor
A descriptor for a subcommand of dotnet tool.
  • Constructor Details

    • ToolCommandDescriptor

      protected ToolCommandDescriptor()
      Creates a new .NET tool command descriptor instance.

      This version works when you follow the common convention, where a descriptor is written as the static nested class of the describable class.

    • ToolCommandDescriptor

      protected ToolCommandDescriptor(@NonNull Class<? extends ToolCommand> clazz)
      Creates a new .NET tool command descriptor instance for a specific class.
      Parameters:
      clazz - The class implementing the command described by this descriptor instance.