public static void setRepositoriesWritable ( final boolean writable ) { for ( final Map . Entry < String , Repository > entry : REPOS_HOLDER . entrySet ( ) ) { final String repositoryName = entry . getKey ( ) ; final Repository repository = entry . getValue ( ) ; repository . setWritable ( writable ) ; LOGGER . log ( Level . INFO , "Sets repository[name={0}] writable[{1}]" , new Object [ ] { repositoryName , writable } ) ; } repositoryiesWritable = writable ; }
Sets all repositories whether is writable with the specified flag .