Class AuthorizeProjectProperty.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<JobProperty<?>>
hudson.model.JobPropertyDescriptor
org.jenkinsci.plugins.authorizeproject.AuthorizeProjectProperty.DescriptorImpl
- Enclosing class:
- AuthorizeProjectProperty
@Extension
public static class AuthorizeProjectProperty.DescriptorImpl
extends JobPropertyDescriptor
Descriptor for
AuthorizeProjectProperty
.
Provides functions for displaying.
-
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 -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.boolean
isApplicable
(Class<? extends Job> jobType) Enabled only whenProjectQueueItemAuthenticator
is configured.Methods inherited from class hudson.model.JobPropertyDescriptor
all, getPropertyDescriptors, newInstance, newInstance
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<JobProperty<?>>
- Returns:
- the name shown in the project configuration page.
- See Also:
-
isApplicable
Enabled only whenProjectQueueItemAuthenticator
is configured.- Overrides:
isApplicable
in classJobPropertyDescriptor
- Parameters:
jobType
- the job type.- Returns:
true
if enabled for the specified job type.- See Also:
-
getStrategyList
@Deprecated public DescriptorExtensionList<AuthorizeProjectStrategy,Descriptor<AuthorizeProjectStrategy>> getStrategyList()Deprecated.- Returns:
- all the registered
AuthorizeProjectStrategy
.
-
getEnabledAuthorizeProjectStrategyDescriptorList
public List<Descriptor<AuthorizeProjectStrategy>> getEnabledAuthorizeProjectStrategyDescriptorList()- Returns:
- enabled
AuthorizeProjectStrategy
, empty if authorize-project is not enabled.
-