public abstract class AbstractCvsScmProvider extends AbstractScmProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractCvsScmProvider.ScmUrlParserResult
The current ScmUrlParserResult
|
| Modifier and Type | Field and Description |
|---|---|
static String |
TRANSPORT_EXT
ext transport method
|
static String |
TRANSPORT_LOCAL
local transport method
|
static String |
TRANSPORT_LSERVER
lserver transport method
|
static String |
TRANSPORT_PSERVER
pserver transport method
|
static String |
TRANSPORT_SSPI
sspi transport method
|
ROLE| Constructor and Description |
|---|
AbstractCvsScmProvider() |
add, add, add, addListener, blame, blame, branch, branch, branch, changeLog, changeLog, changeLog, changeLog, changeLog, changeLog, changeLog, changeLog, changeLog, checkIn, checkIn, checkIn, checkOut, checkOut, checkOut, checkOut, checkOut, checkOut, checkOut, diff, diff, edit, edit, export, export, export, export, export, getLogger, info, list, list, mkdir, remoteInfo, remove, requiresEditMode, status, tag, tag, tag, unedit, unedit, update, update, update, update, update, update, update, update, update, update, update, updatepublic static final String TRANSPORT_EXT
public static final String TRANSPORT_LOCAL
public static final String TRANSPORT_LSERVER
public static final String TRANSPORT_PSERVER
public static final String TRANSPORT_SSPI
public AbstractCvsScmProvider()
public String getScmSpecificFilename()
getScmSpecificFilename in interface ScmProvidergetScmSpecificFilename in class AbstractScmProviderpublic String sanitizeTagName(String arg0)
sanitizeTagName in interface ScmProvidersanitizeTagName in class AbstractScmProviderarg0 - input tag namepublic boolean validateTagName(String arg0)
validateTagName in interface ScmProvidervalidateTagName in class AbstractScmProviderarg0 - tag name to checkpublic ScmProviderRepository makeProviderScmRepository(String scmSpecificUrl, char delimiter) throws ScmRepositoryException
ScmRepositoryExceptionpublic ScmProviderRepository makeProviderScmRepository(File path) throws ScmRepositoryException, UnknownRepositoryStructure
makeProviderScmRepository in interface ScmProvidermakeProviderScmRepository in class AbstractScmProviderScmRepositoryExceptionUnknownRepositoryStructurepublic List<String> validateScmUrl(String scmSpecificUrl, char delimiter)
validateScmUrl in interface ScmProvidervalidateScmUrl in class AbstractScmProviderscmSpecificUrl - The SCM urldelimiter - The delimiter used in the SCM urlpublic String getScmType()
public AddScmResult add(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
add in class AbstractScmProviderScmExceptionpublic BranchScmResult branch(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
branch in class AbstractScmProviderScmExceptionprotected BlameScmResult blame(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
blame in class AbstractScmProviderScmExceptionpublic ChangeLogScmResult changelog(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
changelog in class AbstractScmProviderScmExceptionpublic CheckInScmResult checkin(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
checkin in class AbstractScmProviderScmExceptionpublic CheckOutScmResult checkout(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
checkout in class AbstractScmProviderScmExceptionpublic DiffScmResult diff(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
diff in class AbstractScmProviderScmExceptionprotected ExportScmResult export(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
export in class AbstractScmProviderScmExceptionpublic LoginScmResult login(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
login in class AbstractScmProviderScmExceptionpublic RemoveScmResult remove(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
remove in class AbstractScmProviderScmExceptionpublic StatusScmResult status(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
status in class AbstractScmProviderScmExceptionpublic TagScmResult tag(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
tag in class AbstractScmProviderScmExceptionprotected TagScmResult tag(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters, ScmTagParameters scmParameters) throws ScmException
ScmExceptionpublic UpdateScmResult update(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
update in class AbstractScmProviderScmExceptionprotected ListScmResult list(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
list in class AbstractScmProviderrepository - the source control systemfileSet - the files to listNoSuchCommandScmException - unless overriden by subclassScmException - if anyprotected MkdirScmResult mkdir(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
mkdir in class AbstractScmProviderScmExceptionpublic static String getRelativePath(File basedir, File f) throws ScmException, IOException
basedir - not nullf - not nullScmException - if anyIOException - if anyprotected AbstractCvsScmProvider.ScmUrlParserResult parseScmUrl(String scmSpecificUrl, char delimiter)
protected abstract Command getAddCommand()
protected abstract Command getBranchCommand()
protected abstract Command getBlameCommand()
protected abstract Command getChangeLogCommand()
protected abstract Command getCheckInCommand()
protected abstract Command getCheckOutCommand()
protected abstract Command getDiffCommand()
protected abstract Command getExportCommand()
protected abstract Command getListCommand()
protected abstract Command getLoginCommand()
protected abstract Command getRemoveCommand()
protected abstract Command getStatusCommand()
protected abstract Command getTagCommand()
protected abstract Command getUpdateCommand()
protected abstract Command getMkdirCommand()
Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.