Class FolderPropertyDescriptor
java.lang.Object
hudson.model.Descriptor<AbstractFolderProperty<?>>
com.cloudbees.hudson.plugins.folder.AbstractFolderPropertyDescriptor
com.cloudbees.hudson.plugins.folder.FolderPropertyDescriptor
-
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic DescriptorExtensionList
all()
Deprecated.static List<FolderPropertyDescriptor>
getPropertyDescriptors
(Class<? extends Folder> containerType) newInstance
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) Methods inherited from class com.cloudbees.hudson.plugins.folder.AbstractFolderPropertyDescriptor
getApplicableDescriptors, isApplicable
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
FolderPropertyDescriptor
public FolderPropertyDescriptor()
-
-
Method Details
-
newInstance
public FolderProperty<?> newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException Description copied from class:AbstractFolderPropertyDescriptor
- Overrides:
newInstance
in classAbstractFolderPropertyDescriptor
- Returns:
- null to avoid setting an instance of
AbstractFolderProperty
to the target folder. - Throws:
Descriptor.FormException
-
getPropertyDescriptors
@Deprecated public static List<FolderPropertyDescriptor> getPropertyDescriptors(Class<? extends Folder> containerType) Deprecated.- Parameters:
containerType
- the type of folder- Returns:
- all
AbstractFolderPropertyDescriptor
applicable to the supplied type of folder.
-
all
Deprecated.Directly look upAbstractFolderPropertyDescriptor
s fromExtensionList.lookup(java.lang.Class<T>)
instead.- Returns:
- all
AbstractFolderPropertyDescriptor
-
AbstractFolderPropertyDescriptor
s fromExtensionList.lookup(java.lang.Class<T>)
instead.