Class OrphanedItemStrategyDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<OrphanedItemStrategy>
-
- com.cloudbees.hudson.plugins.folder.computed.OrphanedItemStrategyDescriptor
-
- Direct Known Subclasses:
DefaultOrphanedItemStrategy.DescriptorImpl
public abstract class OrphanedItemStrategyDescriptor extends Descriptor<OrphanedItemStrategy>
A kind ofOrphanedItemStrategy
.
-
-
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 OrphanedItemStrategyDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isApplicable(Class<? extends ComputedFolder> folderType)
Checks if this strategy is applicable to a given kind of folder.-
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, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
isApplicable
public boolean isApplicable(Class<? extends ComputedFolder> folderType)
Checks if this strategy is applicable to a given kind of folder.- Parameters:
folderType
- the type of folder.- Returns:
- true to allow user to select and configure this build source.
-
-