Class AddPrefixRoles

    • Field Detail

      • delegate

        private final Roles delegate
      • prefix

        private final String prefix
    • Constructor Detail

      • AddPrefixRoles

        AddPrefixRoles​(Roles delegate,
                       String prefix)
    • Method Detail

      • contains

        public boolean contains​(String roleName)
        Description copied from interface: Roles
        Determine if this collection contains the given role name.
        Specified by:
        contains in interface Roles
        Parameters:
        roleName - the role name
        Returns:
        true if the role is contained in this collection, false otherwise