org.apache.maven.scm.provider
Interface ScmProvider
- All Known Implementing Classes:
- AbstractScmProvider
- public interface ScmProvider
- Version:
- $Id: ScmProvider.java 225265 2005-07-26 09:16:45Z evenisse $
- Author:
- Emmanuel Venisse
Field Summary |
static java.lang.String |
ROLE
|
Method Summary |
AddScmResult |
add(ScmRepository repository,
ScmFileSet fileSet)
|
void |
addListener(ScmLogger logger)
|
ChangeLogScmResult |
changeLog(ScmRepository repository,
ScmFileSet fileSet,
java.util.Date startDate,
java.util.Date endDate,
int numDays,
java.lang.String branch)
|
CheckInScmResult |
checkIn(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag,
java.lang.String message)
|
CheckOutScmResult |
checkOut(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag)
|
DiffScmResult |
diff(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String startRevision,
java.lang.String endRevision)
|
java.lang.String |
getScmType()
|
ScmProviderRepository |
makeProviderScmRepository(java.io.File path)
|
ScmProviderRepository |
makeProviderScmRepository(java.lang.String scmSpecificUrl,
char delimiter)
|
RemoveScmResult |
remove(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String message)
|
StatusScmResult |
status(ScmRepository repository,
ScmFileSet fileSet)
|
TagScmResult |
tag(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag)
|
UpdateScmResult |
update(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag)
|
java.util.List |
validateScmUrl(java.lang.String scmSpecificUrl,
char delimiter)
|
ROLE
public static final java.lang.String ROLE
getScmType
public java.lang.String getScmType()
addListener
public void addListener(ScmLogger logger)
makeProviderScmRepository
public ScmProviderRepository makeProviderScmRepository(java.lang.String scmSpecificUrl,
char delimiter)
throws ScmRepositoryException
- Throws:
ScmRepositoryException
makeProviderScmRepository
public ScmProviderRepository makeProviderScmRepository(java.io.File path)
throws ScmRepositoryException,
UnknownRepositoryStructure
- Throws:
ScmRepositoryException
UnknownRepositoryStructure
validateScmUrl
public java.util.List validateScmUrl(java.lang.String scmSpecificUrl,
char delimiter)
add
public AddScmResult add(ScmRepository repository,
ScmFileSet fileSet)
throws ScmException
- Throws:
ScmException
changeLog
public ChangeLogScmResult changeLog(ScmRepository repository,
ScmFileSet fileSet,
java.util.Date startDate,
java.util.Date endDate,
int numDays,
java.lang.String branch)
throws ScmException
- Throws:
ScmException
checkIn
public CheckInScmResult checkIn(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag,
java.lang.String message)
throws ScmException
- Throws:
ScmException
checkOut
public CheckOutScmResult checkOut(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag)
throws ScmException
- Throws:
ScmException
diff
public DiffScmResult diff(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String startRevision,
java.lang.String endRevision)
throws ScmException
- Throws:
ScmException
remove
public RemoveScmResult remove(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String message)
throws ScmException
- Throws:
ScmException
status
public StatusScmResult status(ScmRepository repository,
ScmFileSet fileSet)
throws ScmException
- Throws:
ScmException
tag
public TagScmResult tag(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag)
throws ScmException
- Throws:
ScmException
update
public UpdateScmResult update(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag)
throws ScmException
- Throws:
ScmException