org.apache.maven.scm.provider
public interface ScmProvider
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ROLE |
Modifier and Type | Method and Description |
---|---|
AddScmResult |
add(ScmRepository repository,
ScmFileSet fileSet)
Adds the given files to the source control system
|
AddScmResult |
add(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String message)
Adds the given files to the source control system
|
void |
addListener(ScmLogger logger)
Add a logger listener.
|
BranchScmResult |
branch(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String branchName)
Deprecated.
use
#branch(ScmRepository, ScmFileSet, String, String, ScmBranchParameters) |
BranchScmResult |
branch(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String branchName,
ScmBranchParameters scmBranchParameters)
Branch (or label in some systems) will create a branch of the source file with a certain
branch name
|
BranchScmResult |
branch(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String branchName,
java.lang.String message)
Deprecated.
use
#branch(ScmRepository, ScmFileSet, String, String, ScmBranchParameters) |
ChangeLogScmResult |
changeLog(ScmRepository repository,
ScmFileSet fileSet,
java.util.Date startDate,
java.util.Date endDate,
int numDays,
ScmBranch branch)
Returns the changes that have happend in the source control system in a certain period of time.
|
ChangeLogScmResult |
changeLog(ScmRepository repository,
ScmFileSet fileSet,
java.util.Date startDate,
java.util.Date endDate,
int numDays,
ScmBranch branch,
java.lang.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,
java.util.Date startDate,
java.util.Date endDate,
int numDays,
java.lang.String branch)
|
ChangeLogScmResult |
changeLog(ScmRepository repository,
ScmFileSet fileSet,
java.util.Date startDate,
java.util.Date endDate,
int numDays,
java.lang.String branch,
java.lang.String datePattern)
|
ChangeLogScmResult |
changeLog(ScmRepository repository,
ScmFileSet fileSet,
ScmVersion startVersion,
ScmVersion endVersion)
Returns the changes that have happend in the source control system between two tags.
|
ChangeLogScmResult |
changeLog(ScmRepository repository,
ScmFileSet fileSet,
ScmVersion startRevision,
ScmVersion endRevision,
java.lang.String datePattern)
Returns the changes that have happend in the source control system between two tags.
|
ChangeLogScmResult |
changeLog(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String startTag,
java.lang.String endTag)
|
ChangeLogScmResult |
changeLog(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String startTag,
java.lang.String endTag,
java.lang.String datePattern)
|
CheckInScmResult |
checkIn(ScmRepository repository,
ScmFileSet fileSet,
ScmVersion revision,
java.lang.String message)
Save the changes you have done into the repository.
|
CheckInScmResult |
checkIn(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String message)
Save the changes you have done into the repository.
|
CheckInScmResult |
checkIn(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag,
java.lang.String message)
|
CheckOutScmResult |
checkOut(ScmRepository repository,
ScmFileSet fileSet)
Create a copy of the repository on your local machine
|
CheckOutScmResult |
checkOut(ScmRepository scmRepository,
ScmFileSet scmFileSet,
boolean recursive)
Create a copy of the repository on your local machine.
|
CheckOutScmResult |
checkOut(ScmRepository repository,
ScmFileSet fileSet,
ScmVersion version)
Create a copy of the repository on your local machine
|
CheckOutScmResult |
checkOut(ScmRepository scmRepository,
ScmFileSet scmFileSet,
ScmVersion version,
boolean recursive)
Create a copy of the repository on your local machine.
|
CheckOutScmResult |
checkOut(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag)
|
CheckOutScmResult |
checkOut(ScmRepository scmRepository,
ScmFileSet scmFileSet,
java.lang.String tag,
boolean recursive)
|
DiffScmResult |
diff(ScmRepository scmRepository,
ScmFileSet scmFileSet,
ScmVersion startVersion,
ScmVersion endVersion)
Create a diff between two branch/tag/revision.
|
DiffScmResult |
diff(ScmRepository scmRepository,
ScmFileSet scmFileSet,
java.lang.String startRevision,
java.lang.String endRevision)
|
EditScmResult |
edit(ScmRepository repository,
ScmFileSet fileSet)
Make a file editable.
|
ExportScmResult |
export(ScmRepository repository,
ScmFileSet fileSet)
Create an exported copy of the repository on your local machine
|
ExportScmResult |
export(ScmRepository repository,
ScmFileSet fileSet,
ScmVersion version)
Create an exported copy of the repository on your local machine
|
ExportScmResult |
export(ScmRepository repository,
ScmFileSet fileSet,
ScmVersion version,
java.lang.String outputDirectory)
Create an exported copy of the repository on your local machine
|
ExportScmResult |
export(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag)
|
ExportScmResult |
export(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag,
java.lang.String outputDirectory)
|
java.lang.String |
getScmSpecificFilename()
Returns the scm reserved file name where the SCM stores information like 'CVS', '.svn'.
|
java.lang.String |
getScmType() |
ListScmResult |
list(ScmRepository repository,
ScmFileSet fileSet,
boolean recursive,
ScmVersion version)
List each element (files and directories) of fileSet as they exist in the repository.
|
ListScmResult |
list(ScmRepository repository,
ScmFileSet fileSet,
boolean recursive,
java.lang.String tag)
|
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() |
java.lang.String |
sanitizeTagName(java.lang.String tag)
Given a tag name, make it suitable for this SCM provider.
|
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 tagName)
Deprecated.
|
TagScmResult |
tag(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tagName,
ScmTagParameters scmTagParameters)
Tag (or label in some systems) will tag the source file with a certain tag
|
TagScmResult |
tag(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tagName,
java.lang.String message)
Deprecated.
|
UnEditScmResult |
unedit(ScmRepository repository,
ScmFileSet fileSet)
Make a file no longer editable.
|
UpdateScmResult |
update(ScmRepository repository,
ScmFileSet fileSet)
Updates the copy on the local machine with the changes in the repository
|
UpdateScmResult |
update(ScmRepository repository,
ScmFileSet fileSet,
boolean runChangelog)
Updates the copy on the local machine with the changes in the repository
|
UpdateScmResult |
update(ScmRepository repository,
ScmFileSet fileSet,
ScmVersion version)
Updates the copy on the local machine with the changes in the repository
|
UpdateScmResult |
update(ScmRepository repository,
ScmFileSet fileSet,
ScmVersion version,
boolean runChangelog)
Updates the copy on the local machine with the changes in the repository
|
UpdateScmResult |
update(ScmRepository repository,
ScmFileSet fileSet,
ScmVersion version,
java.util.Date lastUpdate)
Updates the copy on the local machine with the changes in the repository
|
UpdateScmResult |
update(ScmRepository repository,
ScmFileSet fileSet,
ScmVersion version,
java.util.Date lastUpdate,
java.lang.String datePattern)
Updates the copy on the local machine with the changes in the repository
|
UpdateScmResult |
update(ScmRepository repository,
ScmFileSet fileSet,
ScmVersion version,
java.lang.String datePattern)
Updates the copy on the local machine with the changes in the repository
|
UpdateScmResult |
update(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag)
|
UpdateScmResult |
update(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag,
boolean runChangelog)
|
UpdateScmResult |
update(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag,
java.util.Date lastUpdate)
|
UpdateScmResult |
update(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag,
java.util.Date lastUpdate,
java.lang.String datePattern)
|
UpdateScmResult |
update(ScmRepository repository,
ScmFileSet fileSet,
java.lang.String tag,
java.lang.String datePattern)
|
java.util.List |
validateScmUrl(java.lang.String scmSpecificUrl,
char delimiter)
Validate the scm url.
|
boolean |
validateTagName(java.lang.String tag)
Check if this tag is valid for this SCM provider.
|
java.lang.String getScmType()
void addListener(ScmLogger logger)
logger
- The loggerboolean requiresEditMode()
ScmProviderRepository makeProviderScmRepository(java.lang.String scmSpecificUrl, char delimiter) throws ScmRepositoryException
ScmRepositoryException
ScmProviderRepository makeProviderScmRepository(java.io.File path) throws ScmRepositoryException, UnknownRepositoryStructure
java.util.List validateScmUrl(java.lang.String scmSpecificUrl, char delimiter)
scmSpecificUrl
- The SCM urldelimiter
- The delimiter used in the SCM urljava.lang.String getScmSpecificFilename()
boolean validateTagName(java.lang.String tag)
tag
- tag name to checkjava.lang.String sanitizeTagName(java.lang.String tag)
tag
- input tag nameAddScmResult add(ScmRepository repository, ScmFileSet fileSet) throws ScmException
repository
- the source control systemfileSet
- the files to be addedAddScmResult
that contains the files that have been addedScmException
- if anyAddScmResult add(ScmRepository repository, ScmFileSet fileSet, java.lang.String message) throws ScmException
repository
- the source control systemfileSet
- the files to be addedmessage
- a string that is a comment on the new added fileAddScmResult
that contains the files that have been addedScmException
- if anyBranchScmResult branch(ScmRepository repository, ScmFileSet fileSet, java.lang.String branchName) throws ScmException
#branch(ScmRepository, ScmFileSet, String, String, ScmBranchParameters)
repository
- the source control systemfileSet
- the files to branch. Implementations can also give the changes
from the ScmFileSet.getBasedir()
downwards.branchName
- the branch name to apply to the filesScmException
- if anyBranchScmResult branch(ScmRepository repository, ScmFileSet fileSet, java.lang.String branchName, java.lang.String message) throws ScmException
#branch(ScmRepository, ScmFileSet, String, String, ScmBranchParameters)
repository
- the source control systemfileSet
- the files to branch. Implementations can also give the changes
from the ScmFileSet.getBasedir()
downwards.branchName
- the branch name to apply to the filesmessage
- the commit message used for the tag creationScmException
- if anyBranchScmResult branch(ScmRepository repository, ScmFileSet fileSet, java.lang.String branchName, ScmBranchParameters scmBranchParameters) throws ScmException
repository
- the source control systemfileSet
- the files to branch. Implementations can also give the changes from the
ScmFileSet.getBasedir()
downwards.branchName
- the branch name to apply to the filesmessage
- the commit message used for the tag creationScmException
- if anyChangeLogScmResult changeLog(ScmRepository repository, ScmFileSet fileSet, java.util.Date startDate, java.util.Date endDate, int numDays, java.lang.String branch) throws ScmException
changeLog(org.apache.maven.scm.repository.ScmRepository,
org.apache.maven.scm.ScmFileSet,java.util.Date,java.util.Date,int,org.apache.maven.scm.ScmBranch)
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
- the number days before the current time if startdate and enddate are nullbranch
- the branch/tag nameScmException
- if anyChangeLogScmResult changeLog(ScmRepository repository, ScmFileSet fileSet, java.util.Date startDate, java.util.Date endDate, int numDays, ScmBranch 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
- the number days before the current time if startdate and enddate are nullbranch
- the branch/tagScmException
- if anyChangeLogScmResult changeLog(ScmRepository repository, ScmFileSet fileSet, java.util.Date startDate, java.util.Date endDate, int numDays, java.lang.String branch, java.lang.String datePattern) throws ScmException
changeLog(org.apache.maven.scm.repository.ScmRepository,
org.apache.maven.scm.ScmFileSet,java.util.Date,java.util.Date,int,org.apache.maven.scm.ScmBranch,String)
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
- the number days before the current time if startdate and enddate are nullbranch
- the branch/tag namedatePattern
- the date pattern use in changelog output returned by scm toolScmException
- if anyChangeLogScmResult changeLog(ScmRepository repository, ScmFileSet fileSet, java.util.Date startDate, java.util.Date endDate, int numDays, ScmBranch branch, java.lang.String datePattern) 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
- the number days before the current time if startdate and enddate are nullbranch
- the branch/tagdatePattern
- the date pattern use in changelog output returned by scm toolScmException
- if anyChangeLogScmResult changeLog(ScmRepository repository, ScmFileSet fileSet, java.lang.String startTag, java.lang.String endTag) throws ScmException
changeLog(org.apache.maven.scm.repository.ScmRepository,
org.apache.maven.scm.ScmFileSet,org.apache.maven.scm.ScmVersion,org.apache.maven.scm.ScmVersion)
repository
- the source control systemfileSet
- the files to know the changes about. Implementations can also give the changes
from the ScmFileSet.getBasedir()
downwards.startTag
- the start tagendTag
- the end tagScmException
- if anyChangeLogScmResult changeLog(ScmRepository repository, ScmFileSet fileSet, ScmVersion startVersion, ScmVersion endVersion) 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.startVersion
- the start branch/tag/revisionendVersion
- the end branch/tag/revisionScmException
- if anyChangeLogScmResult changeLog(ScmRepository repository, ScmFileSet fileSet, java.lang.String startTag, java.lang.String endTag, java.lang.String datePattern) throws ScmException
changeLog(org.apache.maven.scm.repository.ScmRepository,
org.apache.maven.scm.ScmFileSet,org.apache.maven.scm.ScmVersion,org.apache.maven.scm.ScmVersion,String)
repository
- the source control systemfileSet
- the files to know the changes about. Implementations can also give the changes
from the ScmFileSet.getBasedir()
downwards.startTag
- the start tagendTag
- the end tagdatePattern
- the date pattern use in changelog output returned by scm toolScmException
- if anyChangeLogScmResult changeLog(ScmRepository repository, ScmFileSet fileSet, ScmVersion startRevision, ScmVersion endRevision, java.lang.String datePattern) 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.startRevision
- the start revisionendRevision
- the end revisiondatePattern
- the date pattern use in changelog output returned by scm toolScmException
- if anyCheckInScmResult checkIn(ScmRepository repository, ScmFileSet fileSet, java.lang.String tag, java.lang.String message) throws ScmException
checkIn(org.apache.maven.scm.repository.ScmRepository,
org.apache.maven.scm.ScmFileSet,org.apache.maven.scm.ScmVersion,String)
repository
- the source control systemfileSet
- the files to check in (sometimes called commit)tag
- tag or revisionmessage
- a string that is a comment on the changes that where doneScmException
- if anyCheckInScmResult checkIn(ScmRepository repository, ScmFileSet fileSet, java.lang.String message) throws ScmException
repository
- the source control systemfileSet
- the files to check in (sometimes called commit)message
- a string that is a comment on the changes that where doneScmException
- if anyCheckInScmResult checkIn(ScmRepository repository, ScmFileSet fileSet, ScmVersion revision, java.lang.String message) throws ScmException
repository
- the source control systemfileSet
- the files to check in (sometimes called commit)revision
- branch/tag/revisionmessage
- a string that is a comment on the changes that where doneScmException
- if anyCheckOutScmResult checkOut(ScmRepository repository, ScmFileSet fileSet, java.lang.String tag) throws ScmException
checkOut(org.apache.maven.scm.repository.ScmRepository,
org.apache.maven.scm.ScmFileSet,org.apache.maven.scm.ScmVersion)
repository
- the source control systemfileSet
- the files are copied to the ScmFileSet.getBasedir()
locationtag
- get the version defined by the tagScmException
- if anyCheckOutScmResult checkOut(ScmRepository repository, ScmFileSet fileSet) throws ScmException
repository
- the source control systemfileSet
- the files are copied to the ScmFileSet.getBasedir()
locationScmException
- if anyCheckOutScmResult checkOut(ScmRepository repository, ScmFileSet fileSet, ScmVersion version) throws ScmException
repository
- the source control systemfileSet
- the files are copied to the ScmFileSet.getBasedir()
locationversion
- get the version defined by the revision, branch or tagScmException
- if anyCheckOutScmResult checkOut(ScmRepository scmRepository, ScmFileSet scmFileSet, java.lang.String tag, boolean recursive) throws ScmException
checkOut(org.apache.maven.scm.repository.ScmRepository,
org.apache.maven.scm.ScmFileSet,org.apache.maven.scm.ScmVersion,boolean)
scmRepository
- the source control systemscmFileSet
- the files are copied to the ScmFileSet.getBasedir()
locationtag
- tag or revisionrecursive
- whether to check out recursivelyScmException
- if anyCheckOutScmResult checkOut(ScmRepository scmRepository, ScmFileSet scmFileSet, boolean recursive) throws ScmException
scmRepository
- the source control systemscmFileSet
- the files are copied to the ScmFileSet.getBasedir()
locationrecursive
- whether to check out recursivelyScmException
- if anyCheckOutScmResult checkOut(ScmRepository scmRepository, ScmFileSet scmFileSet, ScmVersion version, boolean recursive) throws ScmException
scmRepository
- the source control systemscmFileSet
- the files are copied to the ScmFileSet.getBasedir()
locationversion
- get the version defined by the revision, branch or tagrecursive
- whether to check out recursivelyScmException
- if anyDiffScmResult diff(ScmRepository scmRepository, ScmFileSet scmFileSet, java.lang.String startRevision, java.lang.String endRevision) throws ScmException
diff(org.apache.maven.scm.repository.ScmRepository,
org.apache.maven.scm.ScmFileSet,org.apache.maven.scm.ScmVersion,org.apache.maven.scm.ScmVersion)
scmRepository
- the source control systemscmFileSet
- the files are copied to the ScmFileSet.getBasedir()
locationstartRevision
- the start revisionendRevision
- the end revisionScmException
- if anyDiffScmResult diff(ScmRepository scmRepository, ScmFileSet scmFileSet, ScmVersion startVersion, ScmVersion endVersion) throws ScmException
scmRepository
- the source control systemscmFileSet
- the files are copied to the ScmFileSet.getBasedir()
locationstartVersion
- the start branch/tag/revisionendVersion
- the end branch/tag/revisionScmException
- if anyExportScmResult export(ScmRepository repository, ScmFileSet fileSet, java.lang.String tag) throws ScmException
export(org.apache.maven.scm.repository.ScmRepository,
org.apache.maven.scm.ScmFileSet,org.apache.maven.scm.ScmVersion)
repository
- the source control systemfileSet
- the files are copied to the ScmFileSet.getBasedir()
locationtag
- get the version defined by the tagScmException
- if anyExportScmResult export(ScmRepository repository, ScmFileSet fileSet) throws ScmException
repository
- the source control systemfileSet
- the files are copied to the ScmFileSet.getBasedir()
locationScmException
- if anyExportScmResult export(ScmRepository repository, ScmFileSet fileSet, ScmVersion version) throws ScmException
repository
- the source control systemfileSet
- the files are copied to the ScmFileSet.getBasedir()
locationversion
- get the version defined by the branch/tag/revisionScmException
- if anyExportScmResult export(ScmRepository repository, ScmFileSet fileSet, java.lang.String tag, java.lang.String outputDirectory) throws ScmException
export(org.apache.maven.scm.repository.ScmRepository,
org.apache.maven.scm.ScmFileSet,org.apache.maven.scm.ScmVersion,String)
repository
- the source control systemfileSet
- the files are copied to the ScmFileSet.getBasedir()
locationtag
- get the version defined by the tagoutputDirectory
- the directory where the export will be storedScmException
- if anyExportScmResult export(ScmRepository repository, ScmFileSet fileSet, ScmVersion version, java.lang.String outputDirectory) throws ScmException
repository
- the source control systemfileSet
- the files are copied to the ScmFileSet.getBasedir()
locationversion
- get the version defined by the branch/tag/revisionoutputDirectory
- the directory where the export will be storedScmException
- if anyRemoveScmResult remove(ScmRepository repository, ScmFileSet fileSet, java.lang.String message) throws ScmException
repository
- the source control systemfileSet
- the files to be removedmessage
- ScmException
- if anyStatusScmResult 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
- if anyTagScmResult tag(ScmRepository repository, ScmFileSet fileSet, java.lang.String tagName) throws ScmException
tag(ScmRepository, ScmFileSet, String, ScmTagParameters)
repository
- the source control systemfileSet
- the files to tag. Implementations can also give the changes
from the ScmFileSet.getBasedir()
downwards.tagName
- the tag name to apply to the filesScmException
- if anyTagScmResult tag(ScmRepository repository, ScmFileSet fileSet, java.lang.String tagName, java.lang.String message) throws ScmException
tag(ScmRepository, ScmFileSet, String, ScmTagParameters)
repository
- the source control systemfileSet
- the files to tag. Implementations can also give the changes
from the ScmFileSet.getBasedir()
downwards.tagName
- the tag name to apply to the filesmessage
- the commit message used for the tag creationScmException
- if anyTagScmResult tag(ScmRepository repository, ScmFileSet fileSet, java.lang.String tagName, ScmTagParameters scmTagParameters) throws ScmException
repository
- the source control systemfileSet
- the files to tag. Implementations can also give the changes
from the ScmFileSet.getBasedir()
downwards.tagName
- the tag name to apply to the filesscmTagParameters
- bean to pass some paramters for tagging ScmTagParameters
ScmException
- if anyUpdateScmResult update(ScmRepository repository, ScmFileSet fileSet) throws ScmException
repository
- the source control systemfileSet
- location of your local copyScmException
- if anyUpdateScmResult update(ScmRepository repository, ScmFileSet fileSet, java.lang.String tag) throws ScmException
update(org.apache.maven.scm.repository.ScmRepository,
org.apache.maven.scm.ScmFileSet,org.apache.maven.scm.ScmVersion)
repository
- the source control systemfileSet
- location of your local copytag
- use the version defined by the tagScmException
- if anyUpdateScmResult update(ScmRepository repository, ScmFileSet fileSet, ScmVersion version) throws ScmException
repository
- the source control systemfileSet
- location of your local copyversion
- use the version defined by the branch/tag/revisionScmException
- if anyUpdateScmResult update(ScmRepository repository, ScmFileSet fileSet, java.lang.String tag, boolean runChangelog) throws ScmException
update(org.apache.maven.scm.repository.ScmRepository,
org.apache.maven.scm.ScmFileSet,org.apache.maven.scm.ScmVersion,boolean)
repository
- the source control systemfileSet
- location of your local copytag
- use the version defined by the tagrunChangelog
- Run the changelog command after the updateScmException
- if anyUpdateScmResult update(ScmRepository repository, ScmFileSet fileSet, boolean runChangelog) throws ScmException
repository
- the source control systemfileSet
- location of your local copyrunChangelog
- Run the changelog command after the updateScmException
- if anyUpdateScmResult update(ScmRepository repository, ScmFileSet fileSet, ScmVersion version, boolean runChangelog) throws ScmException
repository
- the source control systemfileSet
- location of your local copyversion
- use the version defined by the branch/tag/revisionrunChangelog
- Run the changelog command after the updateScmException
- if anyUpdateScmResult update(ScmRepository repository, ScmFileSet fileSet, java.lang.String tag, java.lang.String datePattern) throws ScmException
update(org.apache.maven.scm.repository.ScmRepository,
org.apache.maven.scm.ScmFileSet,org.apache.maven.scm.ScmVersion,String)
repository
- the source control systemfileSet
- location of your local copytag
- use the version defined by the tagdatePattern
- the date pattern use in changelog output returned by scm toolScmException
- if anyUpdateScmResult update(ScmRepository repository, ScmFileSet fileSet, ScmVersion version, java.lang.String datePattern) throws ScmException
repository
- the source control systemfileSet
- location of your local copyversion
- use the version defined by the branch/tag/revisiondatePattern
- the date pattern use in changelog output returned by scm toolScmException
- if anyUpdateScmResult update(ScmRepository repository, ScmFileSet fileSet, java.lang.String tag, java.util.Date lastUpdate) throws ScmException
update(org.apache.maven.scm.repository.ScmRepository,
org.apache.maven.scm.ScmFileSet,org.apache.maven.scm.ScmVersion,java.util.Date)
repository
- the source control systemfileSet
- location of your local copytag
- use the version defined by the taglastUpdate
- ScmException
- if anyUpdateScmResult update(ScmRepository repository, ScmFileSet fileSet, ScmVersion version, java.util.Date lastUpdate) throws ScmException
repository
- the source control systemfileSet
- location of your local copyversion
- use the version defined by the branch/tag/revisionlastUpdate
- ScmException
- if anyUpdateScmResult update(ScmRepository repository, ScmFileSet fileSet, java.lang.String tag, java.util.Date lastUpdate, java.lang.String datePattern) throws ScmException
update(org.apache.maven.scm.repository.ScmRepository,
org.apache.maven.scm.ScmFileSet,org.apache.maven.scm.ScmVersion,java.util.Date,String)
repository
- the source control systemfileSet
- location of your local copytag
- use the version defined by the taglastUpdate
- Date of last updatedatePattern
- the date pattern use in changelog output returned by scm toolScmException
- if anyUpdateScmResult update(ScmRepository repository, ScmFileSet fileSet, ScmVersion version, java.util.Date lastUpdate, java.lang.String datePattern) throws ScmException
repository
- the source control systemfileSet
- location of your local copyversion
- use the version defined by the branch/tag/revisionlastUpdate
- Date of last updatedatePattern
- the date pattern use in changelog output returned by scm toolScmException
- if anyEditScmResult edit(ScmRepository repository, ScmFileSet fileSet) throws ScmException
repository
- the source control systemfileSet
- the files to make editableScmException
- if anyUnEditScmResult 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 uneditableScmException
- if anyListScmResult list(ScmRepository repository, ScmFileSet fileSet, boolean recursive, java.lang.String tag) throws ScmException
list(org.apache.maven.scm.repository.ScmRepository,
org.apache.maven.scm.ScmFileSet,boolean,org.apache.maven.scm.ScmVersion)
repository
- the source control systemfileSet
- the files to listrecursive
- descend recursivelytag
- use the version defined by the tagScmException
ListScmResult list(ScmRepository repository, ScmFileSet fileSet, boolean recursive, ScmVersion version) throws ScmException
repository
- the source control systemfileSet
- the files to listrecursive
- descend recursivelyversion
- use the version defined by the branch/tag/revisionScmException
- if anyCopyright © 2003-2014. All Rights Reserved.