Class Runtime

java.lang.Object
hudson.model.DownloadService.Downloadable
io.jenkins.plugins.dotnet.data.Runtime
All Implemented Interfaces:
ExtensionPoint

@Extension public final class Runtime extends DownloadService.Downloadable
A data file containing the list of valid .NET runtime identifiers.
  • Constructor Details

    • Runtime

      @DataBoundConstructor public Runtime()
      Creates a new Runtime instance.
  • Method Details

    • autoCompleteIdentifier

      @NonNull public AutoCompletionCandidates autoCompleteIdentifier(@CheckForNull String text)
      Performs auto-completion for a partial runtime identifier.
      Parameters:
      text - The partial runtime identifier to auto-complete.
      Returns:
      Suitable auto-completion candidates for text.
    • checkIdentifier

      @NonNull public FormValidation checkIdentifier(@CheckForNull String text)
      Validates a runtime identifier.
      Parameters:
      text - The potential runtime identifier.
      Returns:
      The validation result.
    • checkIdentifiers

      @NonNull public FormValidation checkIdentifiers(@CheckForNull String text)
      Validates a list of runtime identifiers.
      Parameters:
      text - The potential runtime identifiers.
      Returns:
      The validation result.
    • getInstance

      @NonNull public static Runtime getInstance()
      Gets the (single) instance of Runtime.
      Returns:
      An instance of Runtime, loaded with the available .NET runtime identifiers.