Class ListPackage.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Builder>
io.jenkins.plugins.dotnet.commands.CommandDescriptor
io.jenkins.plugins.dotnet.commands.ListPackage.DescriptorImpl
- All Implemented Interfaces:
Saveable
,OnMaster
,org.jenkinsci.plugins.structs.describable.CustomDescribableModel
- Enclosing class:
- ListPackage
@Extension
@Symbol("dotnetListPackage")
public static final class ListPackage.DescriptorImpl
extends CommandDescriptor
A descriptor for "
dotnet list package
" build steps.-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
ConstructorDescriptionCreates a new "dotnet list package
" build step descriptor instance. -
Method Summary
Modifier and TypeMethodDescriptionorg.jenkinsci.plugins.structs.describable.UninstantiatedDescribable
customUninstantiate
(org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable ud) doCheckConfig
(String value, boolean deprecated, boolean outdated, Item item) Performs validation on the "config file" setting.doCheckDeprecated
(boolean deprecated, boolean outdated, Item item) Performs validation on the "show deprecated packages" setting.doCheckHighestMinor
(boolean value, boolean deprecated, boolean outdated, Item item) Performs validation on the "highest minor" setting.doCheckHighestPatch
(boolean value, boolean deprecated, boolean outdated, Item item) Performs validation on the "highest patch" setting.doCheckIncludePrerelease
(boolean value, boolean deprecated, boolean outdated, Item item) Performs validation on the "include prerelease" setting.doCheckOutdated
(boolean deprecated, boolean outdated, Item item) Performs validation on the "show outdated packages" setting.doCheckSourcesString
(String value, boolean deprecated, boolean outdated, Item item) Performs validation on the "sources" setting.Gets the display name for this build step (as used in the project configuration UI).protected boolean
isApplicableToFreeStyleProjects
(DotNetConfiguration configuration) Determines whether this command should be made available to freestyle projects.Methods inherited from class io.jenkins.plugins.dotnet.commands.CommandDescriptor
doAutoCompleteFramework, doAutoCompleteFrameworksString, doAutoCompleteRuntime, doAutoCompleteRuntimesString, doCheckCharset, doCheckFramework, doCheckFrameworksString, doCheckRuntime, doCheckRuntimesString, doFillCharsetItems, doFillSdkItems, doFillVerbosityItems, getMoreOptions, isApplicable
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jenkinsci.plugins.structs.describable.CustomDescribableModel
customInstantiate
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()Creates a new "dotnet list package
" build step descriptor instance.
-
-
Method Details
-
customUninstantiate
@NonNull public org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable customUninstantiate(@NonNull org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable ud) -
doCheckConfig
@NonNull @POST public FormValidation doCheckConfig(@CheckForNull @QueryParameter String value, @QueryParameter boolean deprecated, @QueryParameter boolean outdated, @CheckForNull @AncestorInPath Item item) Performs validation on the "config file" setting.- Parameters:
value
- The specified configuration file name.deprecated
- Flag indicating whether deprecated packages should be listed.outdated
- Flag indicating whether outdated packages should be listed.item
- The item being configured.- Returns:
- The validation result.
-
doCheckDeprecated
@NonNull @POST public FormValidation doCheckDeprecated(@QueryParameter boolean deprecated, @QueryParameter boolean outdated, @CheckForNull @AncestorInPath Item item) Performs validation on the "show deprecated packages" setting.- Parameters:
deprecated
- Flag indicating whether deprecated packages should be listed.outdated
- Flag indicating whether outdated packages should be listed.item
- The item being configured.- Returns:
- The validation result.
-
doCheckHighestMinor
@NonNull @POST public FormValidation doCheckHighestMinor(@QueryParameter boolean value, @QueryParameter boolean deprecated, @QueryParameter boolean outdated, @CheckForNull @AncestorInPath Item item) Performs validation on the "highest minor" setting.- Parameters:
value
- Flag indicating whether the minor version is the highest version that is allowed to change.deprecated
- Flag indicating whether deprecated packages should be listed.outdated
- Flag indicating whether outdated packages should be listed.item
- The item being configured.- Returns:
- The validation result.
-
doCheckHighestPatch
@NonNull @POST public FormValidation doCheckHighestPatch(@QueryParameter boolean value, @QueryParameter boolean deprecated, @QueryParameter boolean outdated, @CheckForNull @AncestorInPath Item item) Performs validation on the "highest patch" setting.- Parameters:
value
- Flag indicating whether the patch version is the highest version that is allowed to change.deprecated
- Flag indicating whether deprecated packages should be listed.outdated
- Flag indicating whether outdated packages should be listed.item
- The item being configured.- Returns:
- The validation result.
-
doCheckIncludePrerelease
@NonNull @POST public FormValidation doCheckIncludePrerelease(@QueryParameter boolean value, @QueryParameter boolean deprecated, @QueryParameter boolean outdated, @CheckForNull @AncestorInPath Item item) Performs validation on the "include prerelease" setting.- Parameters:
value
- Flag indicating whether prerelease package versions should be listed.deprecated
- Flag indicating whether deprecated packages should be listed.outdated
- Flag indicating whether outdated packages should be listed.item
- The item being configured.- Returns:
- The validation result.
-
doCheckOutdated
@NonNull @POST public FormValidation doCheckOutdated(@QueryParameter boolean deprecated, @QueryParameter boolean outdated, @CheckForNull @AncestorInPath Item item) Performs validation on the "show outdated packages" setting.- Parameters:
deprecated
- Flag indicating whether deprecated packages should be listed.outdated
- Flag indicating whether outdated packages should be listed.item
- The item being configured.- Returns:
- The validation result.
-
doCheckSourcesString
@NonNull @POST public FormValidation doCheckSourcesString(@CheckForNull @QueryParameter String value, @QueryParameter boolean deprecated, @QueryParameter boolean outdated, @CheckForNull @AncestorInPath Item item) Performs validation on the "sources" setting.- Parameters:
value
- The specified package sources.deprecated
- Flag indicating whether deprecated packages should be listed.outdated
- Flag indicating whether outdated packages should be listed.item
- The item being configured.- Returns:
- The validation result.
-
getDisplayName
Gets the display name for this build step (as used in the project configuration UI).- Overrides:
getDisplayName
in classDescriptor<Builder>
- Returns:
- This build step's display name.
-
isApplicableToFreeStyleProjects
Description copied from class:CommandDescriptor
Determines whether this command should be made available to freestyle projects.- Overrides:
isApplicableToFreeStyleProjects
in classCommandDescriptor
- Parameters:
configuration
- The applicable configuration.- Returns:
true
when the command should be available for use in freestyle projects;false
otherwise.
-