Package org.biouno.unochoice.model
Class ScriptlerScript.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<AbstractScript>
-
- org.biouno.unochoice.model.ScriptDescriptor
-
- org.biouno.unochoice.model.ScriptlerScript.DescriptorImpl
-
- Enclosing class:
- ScriptlerScript
@Extension(optional=true) public static class ScriptlerScript.DescriptorImpl extends ScriptDescriptor
-
-
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 Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 dropdownAbstractScript
newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject jsonObject)
-
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, 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, toMap
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<AbstractScript>
-
newInstance
public AbstractScript newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject jsonObject) throws Descriptor.FormException
- Overrides:
newInstance
in classDescriptor<AbstractScript>
- Throws:
Descriptor.FormException
-
getParameters
@JavaScriptMethod public net.sf.json.JSONArray getParameters(String scriptlerScriptId)
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
-
-