public class LegacyConvertor extends Object
Modifier and Type | Method and Description |
---|---|
List<ExcludedRegion> |
convertExcludedRegionsToList(String excludedRegions) |
List<CvsRepository> |
convertLegacyConfigToRepositoryStructure(String cvsRoot,
String allModules,
String branch,
boolean isBranchActuallyTag,
String excludedRegions,
boolean useHeadIfNotFound,
CVSRepositoryBrowser browser) |
String[] |
convertModulesToList(String modules) |
String |
findPassword(String cvsRoot,
File passFile)
Treats the given file as a .cvspass file and retrieves the encoded password for
the requested CVS root the file.
|
static LegacyConvertor |
getInstance() |
String |
getPassword(String cvsRoot)
Tries to retrieve the current password from the CVS pass file (if it's been set)
|
public List<CvsRepository> convertLegacyConfigToRepositoryStructure(String cvsRoot, String allModules, String branch, boolean isBranchActuallyTag, String excludedRegions, boolean useHeadIfNotFound, CVSRepositoryBrowser browser)
public String getPassword(String cvsRoot)
cvsRoot
- the CVS Root to look for a password forpublic String findPassword(String cvsRoot, File passFile) throws IOException
cvsRoot
- the CVS root to search file file forpassFile
- the file to treat as a CVS pass fileIOException
- on failure reading filepublic List<ExcludedRegion> convertExcludedRegionsToList(String excludedRegions)
public static LegacyConvertor getInstance()
Copyright © 2016–2022. All rights reserved.