@Extension
public class RoleStrategyConfig
extends hudson.model.ManagementLink
| Constructor and Description |
|---|
RoleStrategyConfig() |
| Modifier and Type | Method and Description |
|---|---|
void |
doAssignSubmit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Called on role's assignment form submission.
|
void |
doRolesSubmit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Called on roles management form submission.
|
String |
getAssignRolesName()
Text displayed for the roles assignment panel.
|
String |
getDescription()
The description of the link.
|
String |
getDisplayName()
Text displayed in the Manage Hudson panel.
|
RoleType |
getGlobalRoleType() |
String |
getIconFileName()
Provides the icon for the Manage Hudson page link
|
String |
getManageRolesName()
Text displayed for the roles management panel.
|
RoleType |
getProjectRoleType() |
hudson.ExtensionList<RoleMacroExtension> |
getRoleMacroExtensions() |
RoleType |
getSlaveRoleType() |
hudson.security.AuthorizationStrategy |
getStrategy()
Retrieve the
RoleBasedAuthorizationStrategy object from the Hudson instance. |
String |
getUrlName()
URL name for the strategy management.
|
hudson.ExtensionList<UserMacroExtension> |
getUserMacroExtensions() |
public String getIconFileName()
getIconFileName in interface hudson.model.ActiongetIconFileName in class hudson.model.ManagementLinkpublic String getUrlName()
getUrlName in interface hudson.model.ActiongetUrlName in class hudson.model.ManagementLinkpublic String getDisplayName()
public String getAssignRolesName()
public String getManageRolesName()
public String getDescription()
getDescription in class hudson.model.ManagementLinkpublic hudson.security.AuthorizationStrategy getStrategy()
RoleBasedAuthorizationStrategy object from the Hudson instance.
Used by the views to build matrix.
RoleBasedAuthorizationStrategy objectpublic void doRolesSubmit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException,
UnsupportedEncodingException,
javax.servlet.ServletException,
hudson.model.Descriptor.FormException
IOExceptionUnsupportedEncodingExceptionjavax.servlet.ServletExceptionhudson.model.Descriptor.FormExceptionpublic void doAssignSubmit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException,
UnsupportedEncodingException,
javax.servlet.ServletException,
hudson.model.Descriptor.FormException
IOExceptionUnsupportedEncodingExceptionjavax.servlet.ServletExceptionhudson.model.Descriptor.FormExceptionpublic hudson.ExtensionList<RoleMacroExtension> getRoleMacroExtensions()
public hudson.ExtensionList<UserMacroExtension> getUserMacroExtensions()
public final RoleType getGlobalRoleType()
public final RoleType getProjectRoleType()
public final RoleType getSlaveRoleType()
Copyright © 2004-2014. All Rights Reserved.