Package com.lookout.jenkins
Class EnvironmentScript.EnvironmentScriptDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<BuildWrapper>
-
- hudson.tasks.BuildWrapperDescriptor
-
- com.lookout.jenkins.EnvironmentScript.EnvironmentScriptDescriptor
-
- Enclosing class:
- EnvironmentScript
@Extension public static final class EnvironmentScript.EnvironmentScriptDescriptor extends BuildWrapperDescriptor
Descriptor forEnvironmentScript
. Used as a singleton. The class is marked as public so that it can be accessed from views.
-
-
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 EnvironmentScriptDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListBoxModel
doFillScriptTypeItems()
String
getDisplayName()
This human readable name is used in the configuration screen.boolean
isApplicable(AbstractProject<?,?> project)
boolean
isMatrix(org.kohsuke.stapler.StaplerRequest request)
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, 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, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
This human readable name is used in the configuration screen.- Overrides:
getDisplayName
in classDescriptor<BuildWrapper>
-
isApplicable
public boolean isApplicable(AbstractProject<?,?> project)
- Specified by:
isApplicable
in classBuildWrapperDescriptor
-
isMatrix
public boolean isMatrix(org.kohsuke.stapler.StaplerRequest request)
-
doFillScriptTypeItems
public ListBoxModel doFillScriptTypeItems()
-
-