|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.scm.provider.AbstractScmProvider org.apache.maven.scm.provider.cvslib.AbstractCvsScmProvider
public abstract class AbstractCvsScmProvider
Nested Class Summary | |
---|---|
static class |
AbstractCvsScmProvider.ScmUrlParserResult
The current ScmUrlParserResult |
Field Summary | |
---|---|
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 |
Fields inherited from interface org.apache.maven.scm.provider.ScmProvider |
---|
ROLE |
Constructor Summary | |
---|---|
AbstractCvsScmProvider()
|
Methods inherited from class org.apache.maven.scm.provider.AbstractScmProvider |
---|
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, 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, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public 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
Constructor Detail |
---|
public AbstractCvsScmProvider()
Method Detail |
---|
public String getScmSpecificFilename()
getScmSpecificFilename
in interface ScmProvider
getScmSpecificFilename
in class AbstractScmProvider
public String sanitizeTagName(String arg0)
sanitizeTagName
in interface ScmProvider
sanitizeTagName
in class AbstractScmProvider
arg0
- input tag name
public boolean validateTagName(String arg0)
validateTagName
in interface ScmProvider
validateTagName
in class AbstractScmProvider
arg0
- tag name to check
public ScmProviderRepository makeProviderScmRepository(String scmSpecificUrl, char delimiter) throws ScmRepositoryException
ScmRepositoryException
public ScmProviderRepository makeProviderScmRepository(File path) throws ScmRepositoryException, UnknownRepositoryStructure
makeProviderScmRepository
in interface ScmProvider
makeProviderScmRepository
in class AbstractScmProvider
ScmRepositoryException
UnknownRepositoryStructure
public List<String> validateScmUrl(String scmSpecificUrl, char delimiter)
validateScmUrl
in interface ScmProvider
validateScmUrl
in class AbstractScmProvider
scmSpecificUrl
- The SCM urldelimiter
- The delimiter used in the SCM url
public String getScmType()
public AddScmResult add(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
add
in class AbstractScmProvider
ScmException
public BranchScmResult branch(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
branch
in class AbstractScmProvider
ScmException
protected BlameScmResult blame(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
blame
in class AbstractScmProvider
ScmException
public ChangeLogScmResult changelog(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
changelog
in class AbstractScmProvider
ScmException
public CheckInScmResult checkin(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
checkin
in class AbstractScmProvider
ScmException
public CheckOutScmResult checkout(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
checkout
in class AbstractScmProvider
ScmException
public DiffScmResult diff(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
diff
in class AbstractScmProvider
ScmException
protected ExportScmResult export(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
export
in class AbstractScmProvider
ScmException
public LoginScmResult login(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
login
in class AbstractScmProvider
ScmException
public RemoveScmResult remove(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
remove
in class AbstractScmProvider
ScmException
public StatusScmResult status(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
status
in class AbstractScmProvider
ScmException
public TagScmResult tag(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
tag
in class AbstractScmProvider
ScmException
protected TagScmResult tag(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters, ScmTagParameters scmParameters) throws ScmException
ScmException
public UpdateScmResult update(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
update
in class AbstractScmProvider
ScmException
protected ListScmResult list(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
list
in class AbstractScmProvider
repository
- the source control systemfileSet
- the files to list
NoSuchCommandScmException
- unless overriden by subclass
ScmException
- if anyprotected MkdirScmResult mkdir(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
mkdir
in class AbstractScmProvider
ScmException
public static String getRelativePath(File basedir, File f) throws ScmException, IOException
basedir
- not nullf
- not null
ScmException
- if any
IOException
- 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |