Class RoleHierarchyImpl.Builder
java.lang.Object
org.springframework.security.access.hierarchicalroles.RoleHierarchyImpl.Builder
- Enclosing class:
- RoleHierarchyImpl
Builder class for constructing a 
RoleHierarchyImpl based on a hierarchical
 role structure.- Since:
- 6.3
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionfinal classBuilder class for constructing child roles within a role hierarchy branch.
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds and returns aRoleHierarchyImpldescribing the defined role hierarchy.Creates a new hierarchy branch to define a role and its child roles.
- 
Method Details- 
roleCreates a new hierarchy branch to define a role and its child roles.- Parameters:
- role- the highest role in this branch
- Returns:
- a RoleHierarchyImpl.Builder.ImpliedRolesto define the child roles for therole
 
- 
buildBuilds and returns aRoleHierarchyImpldescribing the defined role hierarchy.- Returns:
- a RoleHierarchyImpl
 
 
-