org.apache.maven.scm.provider
public interface ScmProvider
Version: $Id: ScmProvider.java 386265 2006-03-16 05:33:09Z carlos $
Field Summary | |
---|---|
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, Date startDate, Date endDate, int numDays, String branch)
Returns the changes that have happend in the source control system in a certain period of time.
|
ChangeLogScmResult | changeLog(ScmRepository repository, ScmFileSet fileSet, Date startDate, Date endDate, int numDays, String branch, String datePattern)
Returns the changes that have happend in the source control system in a certain period of time.
|
ChangeLogScmResult | changeLog(ScmRepository repository, ScmFileSet fileSet, String startTag, String endTag)
Returns the changes that have happend in the source control system between two tags.
|
ChangeLogScmResult | changeLog(ScmRepository repository, ScmFileSet fileSet, String startTag, String endTag, String datePattern)
Returns the changes that have happend in the source control system between two tags.
|
CheckInScmResult | checkIn(ScmRepository repository, ScmFileSet fileSet, String tag, String message)
Save the changes you have done into the repository. |
CheckOutScmResult | checkOut(ScmRepository repository, ScmFileSet fileSet, String tag)
Create a copy of the repository on your local machine
|
DiffScmResult | diff(ScmRepository repository, ScmFileSet fileSet, String startRevision, String endRevision) |
EditScmResult | edit(ScmRepository repository, ScmFileSet fileSet)
Make a file editable. |
String | getScmSpecificFilename()
Returns the scm reserved file name where the SCM stores information like 'CVS', '.svn'.
|
String | getScmType() |
ScmProviderRepository | makeProviderScmRepository(String scmSpecificUrl, char delimiter) |
ScmProviderRepository | makeProviderScmRepository(File path) |
RemoveScmResult | remove(ScmRepository repository, ScmFileSet fileSet, 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, 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, String tag)
Updates the copy on the local machine with the changes in the repository
|
UpdateScmResult | update(ScmRepository repository, ScmFileSet fileSet, String tag, String datePattern)
Updates the copy on the local machine with the changes in the repository
|
UpdateScmResult | update(ScmRepository repository, ScmFileSet fileSet, String tag, Date lastUpdate)
Updates the copy on the local machine with the changes in the repository
|
UpdateScmResult | update(ScmRepository repository, ScmFileSet fileSet, String tag, Date lastUpdate, String datePattern)
Updates the copy on the local machine with the changes in the repository
|
List | validateScmUrl(String scmSpecificUrl, char delimiter) |
Parameters: repository the source control system fileSet the files to be added
Returns: an AddScmResult that contains the files that have been added
Throws: ScmException
Parameters: repository the source control system fileSet the files to know the changes about. Implementations can also give the changes from the getBasedir downwards. startDate the start date of the period endDate the end date of the period numDays branch
Returns:
Throws: ScmException
Parameters: repository the source control system fileSet the files to know the changes about. Implementations can also give the changes from the getBasedir downwards. startDate the start date of the period endDate the end date of the period numDays branch datePattern the date pattern use in changelog output returned by scm tool
Returns:
Throws: ScmException
Parameters: repository the source control system fileSet the files to know the changes about. Implementations can also give the changes from the getBasedir downwards. startTag the start tag endTag the end tag
Returns:
Throws: ScmException
Parameters: repository the source control system fileSet the files to know the changes about. Implementations can also give the changes from the getBasedir downwards. startTag the start tag endTag the end tag datePattern the date pattern use in changelog output returned by scm tool
Returns:
Throws: ScmException
Parameters: repository the source control system fileSet the files to check in (sometimes called commit) tag message a string that is a comment on the changes that where done
Returns:
Throws: ScmException
Parameters: repository the source control system fileSet the files are copied to the getBasedir location tag get the version defined by the tag
Returns:
Throws: ScmException
Parameters: repository the source control system fileSet the files to make editable
Returns:
Throws: ScmException
Returns: the scm reserved file name
Parameters: repository the source control system fileSet the files to be removed message
Returns:
Throws: ScmException
Parameters: repository the source control system fileSet the files to know the status about. Implementations can also give the changes from the getBasedir downwards.
Returns:
Throws: ScmException
Parameters: repository the source control system fileSet the files to tag. Implementations can also give the changes from the getBasedir downwards. tag the tag to apply to the files
Returns:
Throws: ScmException
Parameters: repository the source control system fileSet the files to make uneditable
Returns:
Throws: ScmException
Parameters: repository the source control system fileSet location of your local copy tag use the version defined by the tag
Returns:
Throws: ScmException
Parameters: repository the source control system fileSet location of your local copy tag use the version defined by the tag datePattern the date pattern use in changelog output returned by scm tool
Returns:
Throws: ScmException
Parameters: repository the source control system fileSet location of your local copy tag use the version defined by the tag lastUpdate
Returns:
Throws: ScmException
Parameters: repository the source control system fileSet location of your local copy tag use the version defined by the tag lastUpdate Date of last update datePattern the date pattern use in changelog output returned by scm tool
Returns:
Throws: ScmException