Class Push.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Builder>
io.jenkins.plugins.dotnet.commands.CommandDescriptor
io.jenkins.plugins.dotnet.commands.nuget.NuGetCommandDescriptor
io.jenkins.plugins.dotnet.commands.nuget.Push.DescriptorImpl
- All Implemented Interfaces:
Saveable
,OnMaster
,org.jenkinsci.plugins.structs.describable.CustomDescribableModel
- Enclosing class:
- Push
@Extension
@Symbol("dotnetNuGetPush")
public static final class Push.DescriptorImpl
extends NuGetCommandDescriptor
A descriptor for "
dotnet nuget push
" 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 nuget push
" build step descriptor instance. -
Method Summary
Modifier and TypeMethodDescriptiondoFillApiKeyIdItems
(Item item) Fills a listbox with all possible API keys (string credentials) defined in the system.Fills a listbox with all possible API keys (string credentials) defined in the system.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, customUninstantiate
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()Creates a new "dotnet nuget push
" build step descriptor instance.
-
-
Method Details
-
doFillApiKeyIdItems
Fills a listbox with all possible API keys (string credentials) defined in the system.- Parameters:
item
- The item being configured.- Returns:
- A suitably filled listbox model.
-
doFillSymbolApiKeyIdItems
@NonNull @POST public ListBoxModel doFillSymbolApiKeyIdItems(@CheckForNull @AncestorInPath Item item) Fills a listbox with all possible API keys (string credentials) defined in the system.- Parameters:
item
- The item being configured.- Returns:
- A suitably filled listbox model.
-
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.
-