Class Downloads.Sdk

java.lang.Object
io.jenkins.plugins.dotnet.data.Downloads.Sdk
All Implemented Interfaces:
ModelObject
Enclosing class:
Downloads

public static final class Downloads.Sdk extends Object implements ModelObject
A .NET SDK.
  • Field Details

    • name

      @NonNull public final String name
      The name of the SDK.
    • info

      @CheckForNull public final String info
      Information about the SDK (such as the version of Visual Studio that includes tooling for it).
  • Method Details

    • getDisplayName

      @NonNull public String getDisplayName()
      Maps this SDK to a descriptive string.
      Specified by:
      getDisplayName in interface ModelObject
      Returns:
      A string describing this SDK.
    • getPackage

      @CheckForNull public Downloads.Package getPackage(@CheckForNull String url)
      Gets a package for this SDK, via its download link.
      Parameters:
      url - The download link for the package.
      Returns:
      The requested package, or null if it was not found.
    • getPackages

      @NonNull public Collection<Downloads.Package> getPackages()
      Gets all packages for this SDK.
      Returns:
      All packages for this SDK.