Class Framework

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

@Extension public final class Framework extends DownloadService.Downloadable
A data file containing the list of valid .NET target framework monikers.
  • Constructor Details

    • Framework

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

    • autoCompleteMoniker

      @NonNull public AutoCompletionCandidates autoCompleteMoniker(@CheckForNull String text)
      Performs auto-completion for a partial framework moniker.
      Parameters:
      text - The partial framework moniker to auto-complete.
      Returns:
      Suitable auto-completion candidates for text.
    • checkMoniker

      @NonNull public FormValidation checkMoniker(@CheckForNull String text)
      Validates a framework moniker.
      Parameters:
      text - The potential framework moniker.
      Returns:
      The validation result.
    • checkMonikers

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

      @NonNull public static Framework getInstance()
      Gets the (single) instance of Framework.
      Returns:
      An instance of Framework, loaded with the available .NET target framework monikers.