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