Package de.idos.updates.repository

Examples of de.idos.updates.repository.HttpRepository


    fileServer.start();
  }

  @Given("^a repository for that server$")
  public void an_HTTP_Repository_for_that_server() throws Throwable {
    Repository repository = new HttpRepository("http://localhost:8080/updates/");
    updateSystemBuilder.useRepository(repository);
  }
View Full Code Here


  private Repository createRepository() {
    if (configuration.repositoryTypeForLatestVersion() == RepositoryType.File) {
      return new FilesystemRepository(new File(configuration.repositoryLocationForLatestVersion()));
    } else {
      return new HttpRepository(configuration.repositoryLocationForLatestVersion());
    }
  }
View Full Code Here

TOP

Related Classes of de.idos.updates.repository.HttpRepository

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.