public final class ConfigServerTestUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
REPO_PREFIX
Location where the repos get copied to.
|
Modifier and Type | Method and Description |
---|---|
static String |
copyLocalRepo(String path) |
static boolean |
deleteLocalRepo(String path) |
static String |
getBaseDirectory(String potentialRoot) |
static Object |
getProperty(Environment env,
String sourceNameEndsWith,
String property) |
static org.eclipse.jgit.lib.Repository |
prepareBareRemote() |
static String |
prepareLocalRepo() |
static String |
prepareLocalRepo(String repoPath) |
static String |
prepareLocalRepo(String baseDir,
String buildDir,
String repoPath,
String checkoutDir) |
static String |
prepareLocalSvnRepo(String sourceDir,
String checkoutDir) |
public static final String REPO_PREFIX
public static org.eclipse.jgit.lib.Repository prepareBareRemote() throws IOException
IOException
public static String prepareLocalRepo() throws IOException
IOException
public static String prepareLocalRepo(String repoPath) throws IOException
IOException
public static String prepareLocalRepo(String baseDir, String buildDir, String repoPath, String checkoutDir) throws IOException
IOException
public static String prepareLocalSvnRepo(String sourceDir, String checkoutDir) throws Exception
Exception
public static String copyLocalRepo(String path) throws IOException
IOException
public static boolean deleteLocalRepo(String path) throws IOException
IOException
public static Object getProperty(Environment env, String sourceNameEndsWith, String property)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.