Package io.jenkins.plugins.dotnet.data
Class Framework
java.lang.Object
hudson.model.DownloadService.Downloadable
io.jenkins.plugins.dotnet.data.Framework
- All Implemented Interfaces:
ExtensionPoint
A data file containing the list of valid .NET target framework monikers.
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionautoCompleteMoniker
(String text) Performs auto-completion for a partial framework moniker.checkMoniker
(String text) Validates a framework moniker.checkMonikers
(String text) Validates a list of framework monikers.static Framework
Gets the (single) instance ofFramework
.Methods inherited from class hudson.model.DownloadService.Downloadable
all, get, get, getData, getDataFile, getDue, getId, getInterval, getUrl, getUrls, hasDuplicates, idFor, reduce, updateNow
-
Constructor Details
-
Framework
@DataBoundConstructor public Framework()Creates a newFramework
instance.
-
-
Method Details
-
autoCompleteMoniker
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
Validates a framework moniker.- Parameters:
text
- The potential framework moniker.- Returns:
- The validation result.
-
checkMonikers
Validates a list of framework monikers.- Parameters:
text
- The potential framework monikers.- Returns:
- The validation result.
-
getInstance
Gets the (single) instance ofFramework
.- Returns:
- An instance of
Framework
, loaded with the available .NET target framework monikers.
-