Class ScriptlerBuilder.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<Builder>
hudson.tasks.BuildStepDescriptor<Builder>
org.jenkinsci.plugins.scriptler.builder.ScriptlerBuilder.DescriptorImpl
- Enclosing class:
ScriptlerBuilder
@Extension
public static final class ScriptlerBuilder.DescriptorImpl
extends BuildStepDescriptor<Builder>
-
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 TypeMethodDescriptionnet.sf.json.JSONArraygetParameters(String scriptlerScriptId) gets the argument description to be displayed on the screen when selecting a config in the dropdownbooleanisApplicable(Class<? extends AbstractProject> jobType) newInstance(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) 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, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
isApplicable
- Specified by:
isApplicablein classBuildStepDescriptor<Builder>
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<Builder>
-
getRequiredPermission
-
newInstance
public ScriptlerBuilder newInstance(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject formData) - Overrides:
newInstancein classDescriptor<Builder>
-
getScripts
-
getParameters
gets the argument description to be displayed on the screen when selecting a config in the dropdown- Parameters:
scriptlerScriptId- the config id to get the arguments description for- Returns:
- the description
-