|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 java.lang.String |
TRANSPORT_EXT
ext transport method |
static java.lang.String |
TRANSPORT_LOCAL
local transport method |
static java.lang.String |
TRANSPORT_LSERVER
lserver transport method |
static java.lang.String |
TRANSPORT_PSERVER
pserver transport method |
static java.lang.String |
TRANSPORT_SSPI
sspi transport method |
| Fields inherited from interface org.apache.maven.scm.provider.ScmProvider |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractCvsScmProvider()
|
|
| Method Summary | |
|---|---|
AddScmResult |
add(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
|
protected BlameScmResult |
blame(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
|
BranchScmResult |
branch(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
|
ChangeLogScmResult |
changelog(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
|
CheckInScmResult |
checkin(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
|
CheckOutScmResult |
checkout(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
|
DiffScmResult |
diff(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
|
protected ExportScmResult |
export(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
|
protected abstract Command |
getAddCommand()
|
protected abstract Command |
getBlameCommand()
|
protected abstract Command |
getBranchCommand()
|
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 |
getMkdirCommand()
|
static java.lang.String |
getRelativePath(java.io.File basedir,
java.io.File f)
|
protected abstract Command |
getRemoveCommand()
|
java.lang.String |
getScmSpecificFilename()
Returns the scm reserved file name where the SCM stores information like 'CVS', '.svn'. |
java.lang.String |
getScmType()
|
protected abstract Command |
getStatusCommand()
|
protected abstract Command |
getTagCommand()
|
protected abstract Command |
getUpdateCommand()
|
protected ListScmResult |
list(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
List each element (files and directories) of fileSet as they exist in the repository. |
LoginScmResult |
login(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
|
ScmProviderRepository |
makeProviderScmRepository(java.io.File path)
|
ScmProviderRepository |
makeProviderScmRepository(java.lang.String scmSpecificUrl,
char delimiter)
|
protected MkdirScmResult |
mkdir(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
Create directory/directories in the repository. |
protected AbstractCvsScmProvider.ScmUrlParserResult |
parseScmUrl(java.lang.String scmSpecificUrl,
char delimiter)
|
RemoveScmResult |
remove(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
|
java.lang.String |
sanitizeTagName(java.lang.String arg0)
Given a tag name, make it suitable for this SCM provider. |
StatusScmResult |
status(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
|
TagScmResult |
tag(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
|
protected TagScmResult |
tag(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters,
ScmTagParameters scmParameters)
|
UpdateScmResult |
update(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
|
java.util.List<java.lang.String> |
validateScmUrl(java.lang.String scmSpecificUrl,
char delimiter)
Validate the scm url. |
boolean |
validateTagName(java.lang.String arg0)
Check if this tag is valid for this SCM provider. |
| Methods inherited from class org.apache.maven.scm.provider.AbstractScmProvider |
|---|
add, add, addListener, blame, branch, branch, branch, 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, 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 java.lang.String TRANSPORT_EXT
public static final java.lang.String TRANSPORT_LOCAL
public static final java.lang.String TRANSPORT_LSERVER
public static final java.lang.String TRANSPORT_PSERVER
public static final java.lang.String TRANSPORT_SSPI
| Constructor Detail |
|---|
public AbstractCvsScmProvider()
| Method Detail |
|---|
public java.lang.String getScmSpecificFilename()
getScmSpecificFilename in interface ScmProvidergetScmSpecificFilename in class AbstractScmProviderpublic java.lang.String sanitizeTagName(java.lang.String arg0)
sanitizeTagName in interface ScmProvidersanitizeTagName in class AbstractScmProviderarg0 - input tag name
public boolean validateTagName(java.lang.String arg0)
validateTagName in interface ScmProvidervalidateTagName in class AbstractScmProviderarg0 - tag name to check
public ScmProviderRepository makeProviderScmRepository(java.lang.String scmSpecificUrl,
char delimiter)
throws ScmRepositoryException
ScmRepositoryException
public ScmProviderRepository makeProviderScmRepository(java.io.File path)
throws ScmRepositoryException,
UnknownRepositoryStructure
makeProviderScmRepository in interface ScmProvidermakeProviderScmRepository in class AbstractScmProviderScmRepositoryException
UnknownRepositoryStructure
public java.util.List<java.lang.String> validateScmUrl(java.lang.String scmSpecificUrl,
char delimiter)
validateScmUrl in interface ScmProvidervalidateScmUrl in class AbstractScmProviderscmSpecificUrl - The SCM urldelimiter - The delimiter used in the SCM url
public java.lang.String getScmType()
public AddScmResult add(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
throws ScmException
add in class AbstractScmProviderScmException
public BranchScmResult branch(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
throws ScmException
branch in class AbstractScmProviderScmException
protected BlameScmResult blame(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
throws ScmException
blame in class AbstractScmProviderScmException
public ChangeLogScmResult changelog(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
throws ScmException
changelog in class AbstractScmProviderScmException
public CheckInScmResult checkin(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
throws ScmException
checkin in class AbstractScmProviderScmException
public CheckOutScmResult checkout(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
throws ScmException
checkout in class AbstractScmProviderScmException
public DiffScmResult diff(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
throws ScmException
diff in class AbstractScmProviderScmException
protected ExportScmResult export(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
throws ScmException
export in class AbstractScmProviderScmException
public LoginScmResult login(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
throws ScmException
login in class AbstractScmProviderScmException
public RemoveScmResult remove(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
throws ScmException
remove in class AbstractScmProviderScmException
public StatusScmResult status(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
throws ScmException
status in class AbstractScmProviderScmException
public TagScmResult tag(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
throws ScmException
tag in class AbstractScmProviderScmException
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 AbstractScmProviderScmException
protected ListScmResult list(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
throws ScmException
list in class AbstractScmProviderrepository - the source control systemfileSet - the files to list
NoSuchCommandScmException - unless overriden by subclass
ScmException - if any
protected MkdirScmResult mkdir(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
throws ScmException
mkdir in class AbstractScmProviderScmException
public static java.lang.String getRelativePath(java.io.File basedir,
java.io.File f)
throws ScmException,
java.io.IOException
basedir - not nullf - not null
ScmException - if any
java.io.IOException - if any
protected AbstractCvsScmProvider.ScmUrlParserResult parseScmUrl(java.lang.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 | |||||||||