private void addSystemPermissions ( Set < SystemPermission . Type > permissions , SystemPermissionSet permSet ) throws GuacamoleException { // Add all provided system permissions for ( SystemPermission permission : permSet . getPermissions ( ) ) permissions . ( permission . getType ( ) ) ; }
Adds the system permissions from the given SystemPermissionSet to the Set of system permissions provided .