@Extension(optional=true) public static class ScriptlerScript.DescriptorImpl extends ScriptDescriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Selfclazz| Constructor and Description |
|---|
DescriptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName() |
net.sf.json.JSONArray |
getParameters(String scriptlerScriptId)
gets the argument description to be displayed on the screen when selecting a config in the dropdown
|
AbstractScript |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject jsonObject) |
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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic String getDisplayName()
getDisplayName in class Descriptor<AbstractScript>public AbstractScript newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject jsonObject) throws Descriptor.FormException
newInstance in class Descriptor<AbstractScript>Descriptor.FormException@JavaScriptMethod public net.sf.json.JSONArray getParameters(String scriptlerScriptId)
scriptlerScriptId - the config id to get the arguments description forCopyright © 2016–2021. All rights reserved.