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 forAuthorizeProjectProperty
.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 Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getDisplayName()
List<Descriptor<AuthorizeProjectStrategy>>
getEnabledAuthorizeProjectStrategyDescriptorList()
DescriptorExtensionList<AuthorizeProjectStrategy,Descriptor<AuthorizeProjectStrategy>>
getStrategyList()
Deprecated.boolean
isApplicable(Class<? extends Job> jobType)
Enabled only whenProjectQueueItemAuthenticator
is configured.-
Methods inherited from class hudson.model.JobPropertyDescriptor
all, getPropertyDescriptors, newInstance
-
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, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<JobProperty<?>>
- Returns:
- the name shown in the project configuration page.
- See Also:
Descriptor.getDisplayName()
-
isApplicable
public boolean isApplicable(Class<? extends Job> jobType)
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:
JobPropertyDescriptor.isApplicable(java.lang.Class)
-
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.
-
-