Class GrantedRoles
- java.lang.Object
-
- org.jenkinsci.plugins.rolestrategy.casc.GrantedRoles
-
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public class GrantedRoles extends Object
Casc wrapper for Roles.- Since:
- 2.11
- Author:
- Nicolas De Loof
-
-
Constructor Summary
Constructors Constructor Description GrantedRoles(Set<RoleDefinition> global, Set<RoleDefinition> items, Set<RoleDefinition> agents)
Create GrantedRoles.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<RoleDefinition>
getAgents()
Set<RoleDefinition>
getGlobal()
Set<RoleDefinition>
getItems()
protected Map<String,RoleMap>
toMap()
-
-
-
Constructor Detail
-
GrantedRoles
@DataBoundConstructor public GrantedRoles(Set<RoleDefinition> global, Set<RoleDefinition> items, Set<RoleDefinition> agents)
Create GrantedRoles.- Parameters:
global
- List of global Rolesitems
- List of item Rolesagents
- List of agent Roles
-
-
Method Detail
-
getGlobal
public Set<RoleDefinition> getGlobal()
-
getItems
public Set<RoleDefinition> getItems()
-
getAgents
public Set<RoleDefinition> getAgents()
-
-