public static class AuthorizeProjectProperty.AuthorizationAction extends Object implements Action, IconSpec
Constructor and Description |
---|
AuthorizationAction(Job<?,?> job)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.kohsuke.stapler.HttpResponse |
doAuthorize(org.kohsuke.stapler.StaplerRequest req)
Handles the submission of the authorization configuration.
|
String |
getDisplayName() |
String |
getIconClassName() |
String |
getIconFileName() |
Job<?,?> |
getJob() |
AuthorizeProjectProperty |
getProperty()
Gets the
AuthorizeProjectProperty . |
AuthorizeProjectProperty.DescriptorImpl |
getPropertyDescriptor()
|
String |
getUrlName() |
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public AuthorizeProjectProperty getProperty()
AuthorizeProjectProperty
.AuthorizeProjectProperty
.public AuthorizeProjectProperty.DescriptorImpl getPropertyDescriptor()
AuthorizeProjectProperty.DescriptorImpl
public String getIconFileName()
getIconFileName
in interface Action
public String getDisplayName()
getDisplayName
in interface Action
getDisplayName
in interface ModelObject
public String getUrlName()
getUrlName
in interface Action
public String getIconClassName()
getIconClassName
in interface IconSpec
@Nonnull @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public org.kohsuke.stapler.HttpResponse doAuthorize(@Nonnull org.kohsuke.stapler.StaplerRequest req) throws IOException, javax.servlet.ServletException
req
- the request.IOException
- when things go wrong.javax.servlet.ServletException
- when things go wrong.Copyright © 2016–2021. All rights reserved.