@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()
Deprecated.
The extension is not implemented
|
public String getIconFileName()
getIconFileName
in interface hudson.model.Action
getIconFileName
in class hudson.model.ManagementLink
public String getUrlName()
getUrlName
in interface hudson.model.Action
getUrlName
in class hudson.model.ManagementLink
public String getDisplayName()
public String getAssignRolesName()
public String getManageRolesName()
public String getDescription()
getDescription
in class hudson.model.ManagementLink
@CheckForNull public hudson.security.AuthorizationStrategy getStrategy()
RoleBasedAuthorizationStrategy
object from the Hudson instance.
Used by the views to build matrix.
RoleBasedAuthorizationStrategy
object.
null
if the strategy is not used.@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public void doRolesSubmit(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, UnsupportedEncodingException, javax.servlet.ServletException, hudson.model.Descriptor.FormException
IOException
UnsupportedEncodingException
javax.servlet.ServletException
hudson.model.Descriptor.FormException
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public void doAssignSubmit(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, UnsupportedEncodingException, javax.servlet.ServletException, hudson.model.Descriptor.FormException
IOException
UnsupportedEncodingException
javax.servlet.ServletException
hudson.model.Descriptor.FormException
public hudson.ExtensionList<RoleMacroExtension> getRoleMacroExtensions()
@Deprecated public hudson.ExtensionList<UserMacroExtension> getUserMacroExtensions()
public final RoleType getGlobalRoleType()
public final RoleType getProjectRoleType()
public final RoleType getSlaveRoleType()
Copyright © 2016–2018. All rights reserved.