Package org.wildfly.security.authz
Class OneRole
- java.lang.Object
- 
- org.wildfly.security.authz.OneRole
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description RolesaddPrefix(String prefix)Get a roles collection which adds a prefix to all role names.RolesaddSuffix(String suffix)Get a roles collection which adds a suffix to all role names.Rolesand(Roles other)Get the intersection of this collection and another.booleancontains(String roleName)Determine if this collection contains the given role name.booleanisEmpty()Determine whether this roles collection is empty.Iterator<String>iterator()Rolesminus(Roles other)Get a roles collection which consists of the roles in this collection minus the roles in the other collection.Rolesor(Roles other)Get the union of this collection and another.Spliterator<String>spliterator()Create aSpliteratorover this roles collection.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.wildfly.security.authz.RolescontainsAll, containsAny, xor
 
- 
 
- 
- 
- 
Field Detail- 
roleprivate final String role 
 
- 
 - 
Constructor Detail- 
OneRoleOneRole(String role) 
 
- 
 - 
Method Detail- 
containspublic boolean contains(String roleName) Description copied from interface:RolesDetermine if this collection contains the given role name.
 - 
isEmptypublic boolean isEmpty() Description copied from interface:RolesDetermine whether this roles collection is empty.
 - 
spliteratorpublic Spliterator<String> spliterator() Description copied from interface:RolesCreate aSpliteratorover this roles collection.- Specified by:
- spliteratorin interface- Iterable<String>
- Specified by:
- spliteratorin interface- Roles
- Returns:
- the spliterator (not null)
 
 - 
andpublic Roles and(Roles other) Description copied from interface:RolesGet the intersection of this collection and another.
 - 
orpublic Roles or(Roles other) Description copied from interface:RolesGet the union of this collection and another.
 - 
minuspublic Roles minus(Roles other) Description copied from interface:RolesGet a roles collection which consists of the roles in this collection minus the roles in the other collection.
 - 
addSuffixpublic Roles addSuffix(String suffix) Description copied from interface:RolesGet a roles collection which adds a suffix to all role names.
 - 
addPrefixpublic Roles addPrefix(String prefix) Description copied from interface:RolesGet a roles collection which adds a prefix to all role names.
 
- 
 
-