public class SA3Repository extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ARCHIVED_BUILD_FILE_EXTENSION |
static String |
BUILD_NAME_PATTERN |
static String |
BUILD_NAME_PREFIX |
| Constructor and Description |
|---|
SA3Repository(String homeDir,
String name) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAllBuildsName(String builtConfiguration) |
Build |
getBuild(String bcName,
String buildName) |
BuildRepository |
getBuildRepository(String bcName,
String buildName) |
List<String> |
getBuildsList(String bcName,
int from,
int to) |
FTRepository |
getFTRepository(String bcName) |
String |
getHomeDir() |
Build |
getLatestBuild(String bcName) |
List<Build> |
getLatestNBuilds(String bcName,
int num)
if num is -1 all builds will be returned
|
List<String> |
getLatestNBuildsName(String configurationName,
int num)
returns the name of the latest build accordingly with build names.
|
String |
getName() |
VRETRepository |
getVRETRepository(String bcName,
String sessionName) |
Set<String> |
listAllBuiltConfigurations() |
Set<String> |
listAllVRETSessions(String bcName) |
public static final String BUILD_NAME_PREFIX
public static final String BUILD_NAME_PATTERN
public static final String ARCHIVED_BUILD_FILE_EXTENSION
public SA3Repository(String homeDir, String name) throws RepositoryException
homeDir - name - RepositoryExceptionpublic VRETRepository getVRETRepository(String bcName, String sessionName)
public FTRepository getFTRepository(String bcName) throws Exception
Exceptionpublic BuildRepository getBuildRepository(String bcName, String buildName) throws Exception
Exceptionpublic List<Build> getLatestNBuilds(String bcName, int num) throws Exception
Exceptionpublic String getHomeDir()
public String getName()
public List<String> getLatestNBuildsName(String configurationName, int num)
BUILD_<sequence_number>. The build with higher
sequence number is selected.
The algorithm used in this method is inappropriate, though very
fast; the best way of selecting latest build would be to get all build's
endDate and select the one with the most recent date.
if num is -1 all builds will be returnedconfiguration - Copyright © 2013. All Rights Reserved.