|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthudson.model.ManagementLink
com.michelin.cio.hudson.plugins.rolestrategy.RoleStrategyConfig
@Extension public class RoleStrategyConfig
Add the role management link to the Manage Hudson page.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
|---|
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Field Summary |
|---|
| Fields inherited from class hudson.model.ManagementLink |
|---|
LIST |
| Constructor Summary | |
|---|---|
RoleStrategyConfig()
|
|
| Method Summary | |
|---|---|
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. |
java.lang.String |
getAssignRolesName()
Text displayed for the roles assignment panel. |
java.lang.String |
getDescription()
The description of the link. |
java.lang.String |
getDisplayName()
Text displayed in the Manage Hudson panel. |
java.lang.String |
getIconFileName()
Provides the icon for the Manage Hudson page link |
hudson.security.AuthorizationStrategy |
getStrategy()
Retrieve the RoleBasedAuthorizationStrategy object from the Hudson instance. |
java.lang.String |
getUrlName()
URL name for the strategy management. |
| Methods inherited from class hudson.model.ManagementLink |
|---|
all |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RoleStrategyConfig()
| Method Detail |
|---|
public java.lang.String getIconFileName()
getIconFileName in interface hudson.model.ActiongetIconFileName in class hudson.model.ManagementLinkpublic java.lang.String getUrlName()
getUrlName in interface hudson.model.ActiongetUrlName in class hudson.model.ManagementLinkpublic java.lang.String getDisplayName()
public java.lang.String getAssignRolesName()
public java.lang.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 object
public void doRolesSubmit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException,
java.io.UnsupportedEncodingException,
javax.servlet.ServletException,
hudson.model.Descriptor.FormException
java.io.IOException
java.io.UnsupportedEncodingException
javax.servlet.ServletException
hudson.model.Descriptor.FormException
public void doAssignSubmit(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException,
java.io.UnsupportedEncodingException,
javax.servlet.ServletException,
hudson.model.Descriptor.FormException
java.io.IOException
java.io.UnsupportedEncodingException
javax.servlet.ServletException
hudson.model.Descriptor.FormException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||