public abstract class AbstractFolderPropertyDescriptor extends Descriptor<AbstractFolderProperty<?>>
AbstractFolderProperty
.Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Constructor and Description |
---|
AbstractFolderPropertyDescriptor() |
Modifier and Type | Method and Description |
---|---|
static List<AbstractFolderPropertyDescriptor> |
getApplicableDescriptors(Class<? extends AbstractFolder> containerType)
Gets the
FolderPropertyDescriptor s applicable for a given folder type. |
boolean |
isApplicable(Class<? extends AbstractFolder> containerType)
Returns true if this
AbstractFolderProperty type is applicable to the
given folder type. |
AbstractFolderProperty<?> |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public AbstractFolderProperty<?> newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
newInstance
in class Descriptor<AbstractFolderProperty<?>>
AbstractFolderProperty
to the target folder.Descriptor.FormException
public boolean isApplicable(Class<? extends AbstractFolder> containerType)
AbstractFolderProperty
type is applicable to the
given folder type.
The default implementation of this method checks if the given folder type is assignable to the type parameter of
AbstractFolderProperty
, but subtypes can extend this to change this behavior.
containerType
- the type of folder.public static List<AbstractFolderPropertyDescriptor> getApplicableDescriptors(Class<? extends AbstractFolder> containerType)
FolderPropertyDescriptor
s applicable for a given folder type.containerType
- the type of folder.Copyright © 2016–2020. All rights reserved.