class RepositoryConnectController implements IConnectedRepositoryInstance {

  @SuppressWarnings( "unchecked" )
  public String getDatabases() {
    RepositoriesMeta repositoriesMeta = getRepositoriesMeta();
    JSONArray list = new JSONArray();
    for ( int i = 0; i < repositoriesMeta.nrDatabases(); i++ ) {
      JSONObject databaseJSON = new JSONObject();
      databaseJSON.put( "name", repositoriesMeta.getDatabase( i ).getName() );
      list.add( databaseJSON );
    }
    return list.toString();
  }

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

}