public abstract class BranchProjectFactoryDescriptor extends hudson.model.Descriptor<BranchProjectFactory<?,?>>
BranchProjectFactory
instances.Modifier | Constructor and Description |
---|---|
protected |
BranchProjectFactoryDescriptor()
Fully inferring constructor to use when the descriptor is an inner class of the
BranchProjectFactory
and type parameter inference works because it just should work. |
protected |
BranchProjectFactoryDescriptor(Class<? extends BranchProjectFactory<?,?>> clazz)
Semi explicit constructor to use when the descriptor is not an inner class of the
BranchProjectFactory . |
protected |
BranchProjectFactoryDescriptor(Class<? extends BranchProjectFactory<?,?>> clazz,
Class<? extends hudson.model.Job> branchProjectClass)
Explicit constructor to use when type inference fails.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends hudson.model.Job> |
getProjectClass()
Returns the base class of the projects that are produced by this factory.
|
abstract boolean |
isApplicable(Class<? extends MultiBranchProject> clazz)
Returns
true if and only if this BranchPropertyDescriptor is applicable in the specified type
of MultiBranchProject . |
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, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
protected BranchProjectFactoryDescriptor(Class<? extends BranchProjectFactory<?,?>> clazz, Class<? extends hudson.model.Job> branchProjectClass)
clazz
- the BranchProjectFactory
that this descriptor is for.branchProjectClass
- the Job
type that the BranchProjectFactory
creates.protected BranchProjectFactoryDescriptor(Class<? extends BranchProjectFactory<?,?>> clazz)
BranchProjectFactory
.clazz
- the BranchProjectFactory
that this descriptor is for.protected BranchProjectFactoryDescriptor()
BranchProjectFactory
and type parameter inference works because it just should work.@NonNull public Class<? extends hudson.model.Job> getProjectClass()
public abstract boolean isApplicable(Class<? extends MultiBranchProject> clazz)
true
if and only if this BranchPropertyDescriptor
is applicable in the specified type
of MultiBranchProject
.clazz
- the type of MultiBranchProject
.true
if this factory can be used in the MultiBranchProject
.Copyright © 2016–2017. All rights reserved.