|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ScmProvider
| Field Summary | |
|---|---|
static java.lang.String |
ROLE
|
| Method Summary | |
|---|---|
AddScmResult |
add(ScmRepository repository,
ScmFileSet fileSet)
Adds the given files to the source control system |
void |
addListener(ScmLogger logger)
|
ChangeLogScmResult |
changeLog(ScmRepository repository,
ScmFileSet fileSet,
java.util.Date startDate,
java.util.Date endDate,
int numDays,
java.lang.String branch)
Returns the changes that have happend in the source control system in a certain period of time. |
CheckInScmResult |
checkIn(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag,
java.lang.String message)
Save the changes you have done into the repository. |
CheckOutScmResult |
checkOut(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag)
Create a copy of the repository on your local machine |
DiffScmResult |
diff(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String startRevision,
java.lang.String endRevision)
|
EditScmResult |
edit(ScmRepository repository,
ScmFileSet fileSet)
Make a file editable. |
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)
Removes the given files from the source control system |
boolean |
requiresEditMode()
|
StatusScmResult |
status(ScmRepository repository,
ScmFileSet fileSet)
Returns the status of the files in the source control system. |
TagScmResult |
tag(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag)
Tag (or label in some systems) will tag the source file with a certain tag |
UnEditScmResult |
unedit(ScmRepository repository,
ScmFileSet fileSet)
Make a file no longer editable. |
UpdateScmResult |
update(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag)
Updates the copy on the local machine with the changes in the repository |
UpdateScmResult |
update(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag,
java.util.Date lastUpdate)
Updates the copy on the local machine with the changes in the repository |
java.util.List |
validateScmUrl(java.lang.String scmSpecificUrl,
char delimiter)
|
| Field Detail |
|---|
static final java.lang.String ROLE
| Method Detail |
|---|
java.lang.String getScmType()
void addListener(ScmLogger logger)
boolean requiresEditMode()
ScmProviderRepository makeProviderScmRepository(java.lang.String scmSpecificUrl,
char delimiter)
throws ScmRepositoryException
ScmRepositoryException
ScmProviderRepository makeProviderScmRepository(java.io.File path)
throws ScmRepositoryException,
UnknownRepositoryStructure
ScmRepositoryException
UnknownRepositoryStructure
java.util.List validateScmUrl(java.lang.String scmSpecificUrl,
char delimiter)
AddScmResult add(ScmRepository repository,
ScmFileSet fileSet)
throws ScmException
repository - the source control systemfileSet - the files to be added
AddScmResult that contains the files that have been added
ScmException
ChangeLogScmResult changeLog(ScmRepository repository,
ScmFileSet fileSet,
java.util.Date startDate,
java.util.Date endDate,
int numDays,
java.lang.String branch)
throws ScmException
repository - the source control systemfileSet - the files to know the changes about. Implementations can also give the changes
from the ScmFileSet.getBasedir() downwards.startDate - the start date of the periodendDate - the end date of the periodnumDays - branch -
ScmException
CheckInScmResult checkIn(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag,
java.lang.String message)
throws ScmException
repository - the source control systemfileSet - the files to check in (sometimes called commit)tag - message - a string that is a comment on the changes that where done
ScmException
CheckOutScmResult checkOut(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag)
throws ScmException
repository - the source control systemfileSet - the files are copied to the ScmFileSet.getBasedir() locationtag - get the version defined by the tag
ScmException
DiffScmResult diff(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String startRevision,
java.lang.String endRevision)
throws ScmException
ScmException
RemoveScmResult remove(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String message)
throws ScmException
repository - the source control systemfileSet - the files to be removedmessage -
ScmException
StatusScmResult status(ScmRepository repository,
ScmFileSet fileSet)
throws ScmException
ScmFileStatus flags.
repository - the source control systemfileSet - the files to know the status about. Implementations can also give the changes
from the ScmFileSet.getBasedir() downwards.
ScmException
TagScmResult tag(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag)
throws ScmException
repository - the source control systemfileSet - the files to tag. Implementations can also give the changes
from the ScmFileSet.getBasedir() downwards.tag - the tag to apply to the files
ScmException
UpdateScmResult update(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag)
throws ScmException
repository - the source control systemfileSet - location of your local copytag - use the version defined by the tag
ScmException
UpdateScmResult update(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag,
java.util.Date lastUpdate)
throws ScmException
repository - the source control systemfileSet - location of your local copytag - use the version defined by the taglastUpdate -
ScmException
EditScmResult edit(ScmRepository repository,
ScmFileSet fileSet)
throws ScmException
repository - the source control systemfileSet - the files to make editable
ScmException
UnEditScmResult unedit(ScmRepository repository,
ScmFileSet fileSet)
throws ScmException
edit(org.apache.maven.scm.repository.ScmRepository, org.apache.maven.scm.ScmFileSet).
It makes the file read-only again.
repository - the source control systemfileSet - the files to make uneditable
ScmException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||