Class ProjectQueueItemAuthenticator.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<QueueItemAuthenticator>
-
- jenkins.security.QueueItemAuthenticatorDescriptor
-
- org.jenkinsci.plugins.authorizeproject.ProjectQueueItemAuthenticator.DescriptorImpl
-
- Enclosing class:
- ProjectQueueItemAuthenticator
@Extension public static class ProjectQueueItemAuthenticator.DescriptorImpl extends QueueItemAuthenticatorDescriptor
-
-
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 List<Descriptor<AuthorizeProjectStrategy>>
getAvailableDescriptorList()
List<AuthorizeProjectStrategyDescriptor>
getDescriptorsForGlobalSecurityConfigPage()
Deprecated.String
getDisplayName()
ProjectQueueItemAuthenticator
newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
Creates newProjectQueueItemAuthenticator
from inputs.-
Methods inherited from class jenkins.security.QueueItemAuthenticatorDescriptor
all
-
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<QueueItemAuthenticator>
- Returns:
- the name shown in the security configuration page.
- See Also:
Descriptor.getDisplayName()
-
getDescriptorsForGlobalSecurityConfigPage
@Deprecated public List<AuthorizeProjectStrategyDescriptor> getDescriptorsForGlobalSecurityConfigPage()
Deprecated.
-
getAvailableDescriptorList
public List<Descriptor<AuthorizeProjectStrategy>> getAvailableDescriptorList()
- Returns:
- all installed
AuthorizeProjectStrategy
-
newInstance
public ProjectQueueItemAuthenticator newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
Creates newProjectQueueItemAuthenticator
from inputs. Additional to that, configure global configurations ofAuthorizeProjectStrategy
.- Overrides:
newInstance
in classDescriptor<QueueItemAuthenticator>
- Parameters:
req
- the request.formData
- the form data.- Returns:
- the authenticator.
- Throws:
Descriptor.FormException
- if the submitted form is invalid.- See Also:
Descriptor.newInstance(org.kohsuke.stapler.StaplerRequest, net.sf.json.JSONObject)
-
-