Package hudson.plugins.git.util
Class BuildChooserDescriptor
- java.lang.Object
-
- hudson.model.Descriptor<BuildChooser>
-
- hudson.plugins.git.util.BuildChooserDescriptor
-
- Direct Known Subclasses:
AncestryBuildChooser.DescriptorImpl
,DefaultBuildChooser.DescriptorImpl
,InverseBuildChooser.DescriptorImpl
public abstract class BuildChooserDescriptor extends Descriptor<BuildChooser>
- Author:
- Kohsuke Kawaguchi
-
-
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 BuildChooserDescriptor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescriptorExtensionList<BuildChooser,BuildChooserDescriptor>
all()
String
getLegacyId()
Before this extension point was formalized, existingBuildChooser
s had a hard-coded ID name used for the persistence.boolean
isApplicable(Class<? extends Item> job)
Returns true if this build chooser is applicable to the given job type.-
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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getLegacyId
public String getLegacyId()
Before this extension point was formalized, existingBuildChooser
s had a hard-coded ID name used for the persistence. This method returns those legacy ID, if any, to keep compatibility with existing data.- Returns:
- legacy ID, if any, to keep compatibility with existing data.
-
all
public static DescriptorExtensionList<BuildChooser,BuildChooserDescriptor> all()
-
-