public abstract class AbstractFolderPropertyDescriptor extends hudson.model.Descriptor<AbstractFolderProperty<?>>
AbstractFolderProperty.| Constructor and Description |
|---|
AbstractFolderPropertyDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
static List<AbstractFolderPropertyDescriptor> |
getApplicableDescriptors(Class<? extends AbstractFolder> containerType)
Gets the
FolderPropertyDescriptors 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, 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, toMappublic AbstractFolderProperty<?> newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException
newInstance in class hudson.model.Descriptor<AbstractFolderProperty<?>>AbstractFolderProperty to the target folder.hudson.model.Descriptor.FormExceptionpublic 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.
public static List<AbstractFolderPropertyDescriptor> getApplicableDescriptors(Class<? extends AbstractFolder> containerType)
FolderPropertyDescriptors applicable for a given folder type.Copyright © 2016. All rights reserved.