Class Test.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<Builder>
io.jenkins.plugins.dotnet.commands.CommandDescriptor
io.jenkins.plugins.dotnet.commands.msbuild.MSBuildCommandDescriptor
io.jenkins.plugins.dotnet.commands.msbuild.Test.DescriptorImpl
- All Implemented Interfaces:
Saveable,OnMaster,org.jenkinsci.plugins.structs.describable.CustomDescribableModel
- Enclosing class:
- Test
@Extension
@Symbol("dotnetTest")
public static final class Test.DescriptorImpl
extends MSBuildCommandDescriptor
A descriptor for "
dotnet test" 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
ConstructorsConstructorDescriptionCreates a new "dotnet test" build step descriptor instance. -
Method Summary
Modifier and TypeMethodDescriptionorg.jenkinsci.plugins.structs.describable.UninstantiatedDescribablecustomUninstantiate(org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable ud) doCheckBlameHangTimeout(Integer value, Item item) Performs (basic) validation on a test timeout.doCheckRunSettingsString(String value, Item item) Performs (basic) validation on a set of run settings.Fills a listbox with the possible values for the dump types supported by--blame-crash-dump-type.Fills a listbox with the possible values for the dump types supported by--blame-hang-dump-type.Gets the display name for this build step (as used in the project configuration UI).protected booleanisApplicableToFreeStyleProjects(DotNetConfiguration configuration) Determines whether this command should be made available to freestyle projects.Methods inherited from class io.jenkins.plugins.dotnet.commands.msbuild.MSBuildCommandDescriptor
doCheckPropertiesString, doFillConfigurationItemsMethods inherited from class io.jenkins.plugins.dotnet.commands.CommandDescriptor
doAutoCompleteFramework, doAutoCompleteFrameworksString, doAutoCompleteRuntime, doAutoCompleteRuntimesString, doCheckCharset, doCheckFramework, doCheckFrameworksString, doCheckRuntime, doCheckRuntimesString, doFillCharsetItems, doFillSdkItems, doFillVerbosityItems, getMoreOptions, isApplicableMethods inherited from class hudson.tasks.BuildStepDescriptor
filterMethods 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, toMapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jenkinsci.plugins.structs.describable.CustomDescribableModel
customInstantiate
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()Creates a new "dotnet test" build step descriptor instance.
-
-
Method Details
-
customUninstantiate
@NonNull public org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable customUninstantiate(@NonNull org.jenkinsci.plugins.structs.describable.UninstantiatedDescribable ud) - Specified by:
customUninstantiatein interfaceorg.jenkinsci.plugins.structs.describable.CustomDescribableModel- Overrides:
customUninstantiatein classMSBuildCommandDescriptor
-
doCheckBlameHangTimeout
@NonNull @POST public FormValidation doCheckBlameHangTimeout(@CheckForNull @QueryParameter Integer value, @CheckForNull @AncestorInPath Item item) Performs (basic) validation on a test timeout.- Parameters:
value- The timeout to validate.item- The item being configured.- Returns:
- The validation result.
-
doCheckRunSettingsString
@NonNull @POST public FormValidation doCheckRunSettingsString(@CheckForNull @QueryParameter String value, @CheckForNull @AncestorInPath Item item) Performs (basic) validation on a set of run settings.- Parameters:
value- The run settings to validate.item- The item being configured.- Returns:
- The validation result.
-
doFillBlameCrashDumpTypeItems
@NonNull @POST public ListBoxModel doFillBlameCrashDumpTypeItems(@CheckForNull @AncestorInPath Item item) Fills a listbox with the possible values for the dump types supported by--blame-crash-dump-type.- Parameters:
item- The item being configured.- Returns:
- A suitably filled listbox model.
-
doFillBlameHangDumpTypeItems
@NonNull @POST public ListBoxModel doFillBlameHangDumpTypeItems(@CheckForNull @AncestorInPath Item item) Fills a listbox with the possible values for the dump types supported by--blame-hang-dump-type.- 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:
getDisplayNamein classDescriptor<Builder>- Returns:
- This build step's display name.
-
isApplicableToFreeStyleProjects
Description copied from class:CommandDescriptorDetermines whether this command should be made available to freestyle projects.- Overrides:
isApplicableToFreeStyleProjectsin classCommandDescriptor- Parameters:
configuration- The applicable configuration.- Returns:
truewhen the command should be available for use in freestyle projects;falseotherwise.
-