Package eu.mosaic.cloud.driver

Examples of eu.mosaic.cloud.driver.Repository


  public List<eu.mosaic.cloud.driver.Repository> getRepositories() throws eu.mosaic.cloud.driver.DriverApiException {
    List<Repository> repos = new ArrayList<Repository>();
    List<Bucket> buckets = listBuckets();

    for (Bucket crtBucket : buckets) {
      Repository newRep = new AmazonRepository();
      newRep.setCreationDate(crtBucket.getCreationDate());
      newRep.setName(crtBucket.getName());
      repos.add(newRep);
    }

    return (List<Repository>) repos;
  }
View Full Code Here

TOP

Related Classes of eu.mosaic.cloud.driver.Repository

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.