Package hudson.plugins.groovy
Class Groovy.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Builder>
-
- hudson.plugins.groovy.AbstractGroovy.AbstractGroovyDescriptor
-
- hudson.plugins.groovy.Groovy.DescriptorImpl
-
- Enclosing class:
- Groovy
@Extension public static final class Groovy.DescriptorImpl extends AbstractGroovy.AbstractGroovyDescriptor
-
-
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 Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json)
boolean
getAllowMacro()
String
getDisplayName()
static GroovyInstallation
getGroovy(String groovyName)
GroovyInstallation[]
getInstallations()
boolean
isApplicable(Class<? extends AbstractProject> jobType)
Object
readResolve()
void
setInstallations(GroovyInstallation... installations)
-
Methods inherited from class hudson.plugins.groovy.AbstractGroovy.AbstractGroovyDescriptor
getScriptSource, getScriptSources
-
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, 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, toMap
-
-
-
-
Method Detail
-
readResolve
public Object readResolve()
-
getAllowMacro
public boolean getAllowMacro()
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Builder>
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> jobType)
- Specified by:
isApplicable
in classBuildStepDescriptor<Builder>
-
getInstallations
public GroovyInstallation[] getInstallations()
-
getGroovy
public static GroovyInstallation getGroovy(String groovyName)
-
setInstallations
public void setInstallations(GroovyInstallation... installations)
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException
- Overrides:
configure
in classDescriptor<Builder>
- Throws:
Descriptor.FormException
-
-