public void setSubnetBlacklist ( Iterable < Subnet > subnets ) { if ( subnets == null ) { throw new NullPointerException ( "Subnets must not be null" ) ; } blacklist . clear ( ) ; for ( Subnet subnet : subnets ) { block ( subnet ) ; } }
Sets the subnets to be blacklisted .