public static List < FieldDefinition > getKeys ( final String repositoryName ) { final List < RepositoryDefinition > repositoryDefs = getRepositoryDefinitions ( ) ; for ( final RepositoryDefinition repositoryDefinition : repositoryDefs ) { if ( StringUtils . equals ( repositoryName , repositoryDefinition . getName ( ) ) ) { return repositoryDefinition . getKeys ( ) ; } } return null ; }
Gets keys of the repository specified by the given repository name .