public static class AuthorizeProjectProperty.AuthorizationAction extends Object implements hudson.model.Action, org.jenkins.ui.icon.IconSpec
| Constructor and Description |
|---|
AuthorizeProjectProperty.AuthorizationAction(hudson.model.Job<?,?> job)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.kohsuke.stapler.HttpResponse |
doAuthorize(org.kohsuke.stapler.StaplerRequest req)
Handles the submisson of the authorization configuration.
|
String |
getDisplayName() |
String |
getIconClassName() |
String |
getIconFileName() |
hudson.model.Job<?,?> |
getJob() |
AuthorizeProjectProperty |
getProperty()
Gets the
AuthorizeProjectProperty. |
AuthorizeProjectProperty.DescriptorImpl |
getPropertyDescriptor()
|
String |
getUrlName() |
public AuthorizeProjectProperty.AuthorizationAction(@Nonnull hudson.model.Job<?,?> job)
job - the job.@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public AuthorizeProjectProperty getProperty()
AuthorizeProjectProperty.AuthorizeProjectProperty.public AuthorizeProjectProperty.DescriptorImpl getPropertyDescriptor()
AuthorizeProjectProperty.DescriptorImpl@Nonnull public hudson.model.Job<?,?> getJob()
public String getIconFileName()
getIconFileName in interface hudson.model.Actionpublic String getDisplayName()
getDisplayName in interface hudson.model.ActiongetDisplayName in interface hudson.model.ModelObjectpublic String getUrlName()
getUrlName in interface hudson.model.Actionpublic String getIconClassName()
getIconClassName in interface org.jenkins.ui.icon.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–2017. All rights reserved.