Class AuthorizeProjectStrategyDescriptor
java.lang.Object
hudson.model.Descriptor<AuthorizeProjectStrategy>
org.jenkinsci.plugins.authorizeproject.AuthorizeProjectStrategyDescriptor
- Direct Known Subclasses:
AnonymousAuthorizationStrategy.DescriptorImpl,SpecificUsersAuthorizationStrategy.DescriptorImpl,SystemAuthorizationStrategy.DescriptorImpl,TriggeringUsersAuthorizationStrategy.DescriptorImpl
public abstract class AuthorizeProjectStrategyDescriptor
extends Descriptor<AuthorizeProjectStrategy>
Base
Descriptor class for AuthorizeProjectStrategy instances.-
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
ConstructorsModifierConstructorDescriptionprotectedprotectedAuthorizeProjectStrategyDescriptor(Class<? extends AuthorizeProjectStrategy> clazz) -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureFromGlobalSecurity(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject js) Invoked when configuration is submitted from "Configure Global Security" as a child ofProjectQueueItemAuthenticator.protected final XmlFilebooleanbooleanMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Constructor Details
-
AuthorizeProjectStrategyDescriptor
protected AuthorizeProjectStrategyDescriptor() -
AuthorizeProjectStrategyDescriptor
-
-
Method Details
-
getConfigFile
- Overrides:
getConfigFilein classDescriptor<AuthorizeProjectStrategy>
-
getGlobalSecurityConfigPage
- Returns:
- descriptors with configuration views in "Configure Global Security" as a child of
ProjectQueueItemAuthenticator.
-
getDescriptorsForGlobalSecurityConfigPage
- Returns:
- descriptors to display page in "Configure Global Security" as a child of
ProjectQueueItemAuthenticator.
-
configureFromGlobalSecurity
public void configureFromGlobalSecurity(org.kohsuke.stapler.StaplerRequest2 req, net.sf.json.JSONObject js) throws Descriptor.FormException Invoked when configuration is submitted from "Configure Global Security" as a child ofProjectQueueItemAuthenticator. You should call save() by yourself.- Throws:
Descriptor.FormException
-
isEnabledByDefault
public boolean isEnabledByDefault()- Returns:
- this strategy can be enabled by default.
-
isApplicableToGlobal
public boolean isApplicableToGlobal()- Returns:
- whether configurable for
GlobalQueueItemAuthenticator - Since:
- 1.2.0
-