Package hudson.plugins.build_timeout
Class BuildTimeoutWrapper.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<BuildWrapper>
hudson.tasks.BuildWrapperDescriptor
hudson.plugins.build_timeout.BuildTimeoutWrapper.DescriptorImpl
- Enclosing class:
BuildTimeoutWrapper
-
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
-
Method Summary
Modifier and TypeMethodDescriptiongetOperations
(AbstractProject<?, ?> project) boolean
isApplicable
(AbstractProject<?, ?> item) newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) create a new instance form user input.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, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Method Details
-
newInstance
public BuildTimeoutWrapper newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException create a new instance form user input. Usually this is performed withStaplerRequest.bindJSON(Class, JSONObject)
, but here it is required to construct object manually to callDescriptor.newInstance(StaplerRequest, JSONObject)
of downstream classes.- Overrides:
newInstance
in classDescriptor<BuildWrapper>
- Throws:
Descriptor.FormException
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<BuildWrapper>
-
isApplicable
- Specified by:
isApplicable
in classBuildWrapperDescriptor
-
getStrategies
-
getOperations
-
getOperations
-