class RepositoryConnectController implements IConnectedRepositoryInstance {

  public String getRepository( String name ) {
    RepositoriesMeta repositoriesMeta = getRepositoriesMeta();
    RepositoryMeta repositoryMeta = repositoriesMeta.findRepository( name );
    if ( repositoryMeta != null ) {
      setCurrentRepository( repositoryMeta );
      return repositoryMeta.toJSONObject().toString();
    }
    return "";
  }

  public  RepositoryConnectController( PluginRegistry pluginRegistry, Supplier<Spoon> spoonSupplier );
  public  RepositoryConnectController();

}