Class MSBuildCommandDescriptor
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Builder>
io.jenkins.plugins.dotnet.commands.CommandDescriptor
io.jenkins.plugins.dotnet.commands.msbuild.MSBuildCommandDescriptor
- All Implemented Interfaces:
Saveable
,OnMaster
,org.jenkinsci.plugins.structs.describable.CustomDescribableModel
- Direct Known Subclasses:
Build.DescriptorImpl
,Clean.DescriptorImpl
,Pack.DescriptorImpl
,Publish.DescriptorImpl
,Test.DescriptorImpl
A descriptor for an MSBuild-based .NET command.
-
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
ModifierConstructorDescriptionprotected
Creates a new .NET MSBuild command descriptor instance.protected
MSBuildCommandDescriptor
(Class<? extends MSBuildCommand> clazz) Creates a new .NET MSBuild command descriptor instance for a specific class. -
Method Summary
Modifier and TypeMethodDescriptionorg.jenkinsci.plugins.structs.describable.UninstantiatedDescribable
customUninstantiate
(org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable ud) doCheckPropertiesString
(String value, Item item) Performs validation on a set of MSBuild properties.final ComboBoxModel
doFillConfigurationItems
(Item item) Fills a combobox with standard MSBuild configuration names.Methods inherited from class io.jenkins.plugins.dotnet.commands.CommandDescriptor
doAutoCompleteFramework, doAutoCompleteFrameworksString, doAutoCompleteRuntime, doAutoCompleteRuntimesString, doCheckCharset, doCheckFramework, doCheckFrameworksString, doCheckRuntime, doCheckRuntimesString, doFillCharsetItems, doFillSdkItems, doFillVerbosityItems, getMoreOptions, isApplicable, isApplicableToFreeStyleProjects
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, getDisplayName, 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
-
MSBuildCommandDescriptor
protected MSBuildCommandDescriptor()Creates a new .NET MSBuild command descriptor instance.This version works when you follow the common convention, where a descriptor is written as the static nested class of the describable class.
-
MSBuildCommandDescriptor
Creates a new .NET MSBuild command descriptor instance for a specific class.- Parameters:
clazz
- The class implementing the command described by this descriptor instance.
-
-
Method Details
-
doCheckPropertiesString
@NonNull @POST public FormValidation doCheckPropertiesString(@QueryParameter String value, @CheckForNull @AncestorInPath Item item) Performs validation on a set of MSBuild properties.- Parameters:
value
- The value to validate.item
- The item being configured.- Returns:
- The result of the validation.
-
doFillConfigurationItems
@NonNull @POST public final ComboBoxModel doFillConfigurationItems(@CheckForNull @AncestorInPath Item item) Fills a combobox with standard MSBuild configuration names.- Parameters:
item
- The item being configured.- Returns:
- A suitable filled combobox model.
-
customUninstantiate
@NonNull public org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable customUninstantiate(@NonNull org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable ud)
-