Class WinBatchBuildStep.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<Builder>
hudson.tasks.BuildStepDescriptor<Builder>
org.jenkinsci.plugins.managedscripts.WinBatchBuildStep.DescriptorImpl
- Enclosing class:
WinBatchBuildStep
@Extension(ordinal=55.0)
public static final class WinBatchBuildStep.DescriptorImpl
extends BuildStepDescriptor<Builder>
Descriptor for
WinBatchBuildStep.-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.kohsuke.stapler.HttpResponsedoCheckBuildStepId(org.kohsuke.stapler.StaplerRequest req, Item context, String buildStepId) validate that an existing config was chosendoFillBuildStepIdItems(ItemGroup context) Return all batch files (templates) that the user can choose from when creating a build step.This human readable name is used in the configuration screen.booleanisApplicable(Class<? extends AbstractProject> aClass) Enables this builder for all kinds of projects.Methods inherited from class hudson.tasks.BuildStepDescriptor
filterMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, 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, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
isApplicable
Enables this builder for all kinds of projects.- Specified by:
isApplicablein classBuildStepDescriptor<Builder>
-
getDisplayName
This human readable name is used in the configuration screen.- Overrides:
getDisplayNamein classDescriptor<Builder>
-
doFillBuildStepIdItems
Return all batch files (templates) that the user can choose from when creating a build step. Ordered by name.- Returns:
- A collection of batch files of type
WinBatchConfig.
-
doCheckBuildStepId
public org.kohsuke.stapler.HttpResponse doCheckBuildStepId(org.kohsuke.stapler.StaplerRequest req, @AncestorInPath Item context, @QueryParameter String buildStepId) validate that an existing config was chosen- Parameters:
buildStepId- the buildStepId- Returns:
-