Class Downloads.Version

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

public static final class Downloads.Version extends Object implements ModelObject
A .NET version.
  • Field Details

    • name

      @NonNull public final String name
      The name of the version.
    • status

      @NonNull public final Downloads.Version.Status status
      The status of the version.
    • endOfSupport

      @CheckForNull public String endOfSupport
      The date on which support for this version ends (or ended), if known.
  • Method Details

    • getDisplayName

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

      @CheckForNull public Downloads.Release getRelease(@CheckForNull String name)
      Gets a release, via its name.
      Parameters:
      name - The name of the release.
      Returns:
      The release, or null if it was not found.
    • getReleases

      @NonNull public Collection<Downloads.Release> getReleases()
      Gets all releases for this version.
      Returns:
      All releases for this version.