org.apache.maven.scm.provider
Class ScmProviderStub

java.lang.Object
  extended by org.apache.maven.scm.provider.ScmProviderStub
All Implemented Interfaces:
ScmProvider

public class ScmProviderStub
extends Object
implements ScmProvider

Stub implementation of ScmProvider for unit testing purposes. It allows setting the expected results that the different methods will return. More information about Stubs on Martin Fowler's TestDouble

Version:
$Id: ScmProviderStub.java 1354687 2012-06-27 19:38:56Z olamy $
Author:
Carlos Sanchez

Field Summary
 
Fields inherited from interface org.apache.maven.scm.provider.ScmProvider
ROLE
 
Constructor Summary
ScmProviderStub()
          Create a new ScmProviderStub with bogus (not null) attributes
 
Method Summary
 AddScmResult add(ScmRepository repository, ScmFileSet fileSet)
          
 AddScmResult add(ScmRepository repository, ScmFileSet fileSet, CommandParameters commandParameters)
           
 AddScmResult add(ScmRepository repository, ScmFileSet fileSet, String message)
          
 void addListener(ScmLogger logger)
          
 BlameScmResult blame(BlameScmRequest blameScmRequest)
           
 BlameScmResult blame(ScmRepository repository, ScmFileSet fileSet, String filename)
          
 BranchScmResult branch(ScmRepository repository, ScmFileSet fileSet, String branchName)
          
 BranchScmResult branch(ScmRepository repository, ScmFileSet fileSet, String branchName, ScmBranchParameters scmBranchParameters)
          
 BranchScmResult branch(ScmRepository repository, ScmFileSet fileSet, String branchName, String message)
          
 ChangeLogScmResult changeLog(ChangeLogScmRequest scmRequest)
           
 ChangeLogScmResult changeLog(ScmRepository repository, ScmFileSet fileSet, Date startDate, Date endDate, int numDays, ScmBranch branch)
          
 ChangeLogScmResult changeLog(ScmRepository repository, ScmFileSet fileSet, Date startDate, Date endDate, int numDays, ScmBranch branch, String datePattern)
          
 ChangeLogScmResult changeLog(ScmRepository repository, ScmFileSet fileSet, Date startDate, Date endDate, int numDays, String branch)
          
 ChangeLogScmResult changeLog(ScmRepository repository, ScmFileSet fileSet, Date startDate, Date endDate, int numDays, String branch, String datePattern)
          
 ChangeLogScmResult changeLog(ScmRepository repository, ScmFileSet fileSet, ScmVersion startVersion, ScmVersion endVersion)
          
 ChangeLogScmResult changeLog(ScmRepository repository, ScmFileSet fileSet, ScmVersion startRevision, ScmVersion endRevision, String datePattern)
          
 ChangeLogScmResult changeLog(ScmRepository repository, ScmFileSet fileSet, String startTag, String endTag)
          
 ChangeLogScmResult changeLog(ScmRepository repository, ScmFileSet fileSet, String startTag, String endTag, String datePattern)
          
 CheckInScmResult checkIn(ScmRepository repository, ScmFileSet fileSet, ScmVersion revision, String message)
          
 CheckInScmResult checkIn(ScmRepository repository, ScmFileSet fileSet, String message)
          
 CheckInScmResult checkIn(ScmRepository repository, ScmFileSet fileSet, String tag, String message)
          
 CheckOutScmResult checkOut(ScmRepository repository, ScmFileSet fileSet)
          
 CheckOutScmResult checkOut(ScmRepository scmRepository, ScmFileSet scmFileSet, boolean recursive)
          
 CheckOutScmResult checkOut(ScmRepository repository, ScmFileSet fileSet, ScmVersion version)
          
 CheckOutScmResult checkOut(ScmRepository scmRepository, ScmFileSet scmFileSet, ScmVersion version, boolean recursive)
          
 CheckOutScmResult checkOut(ScmRepository repository, ScmFileSet fileSet, String tag)
          
 CheckOutScmResult checkOut(ScmRepository scmRepository, ScmFileSet scmFileSet, String tag, boolean recursive)
          
 DiffScmResult diff(ScmRepository scmRepository, ScmFileSet scmFileSet, ScmVersion startVersion, ScmVersion endVersion)
          
 DiffScmResult diff(ScmRepository repository, ScmFileSet fileSet, String startRevision, String endRevision)
          
 EditScmResult edit(ScmRepository repository, ScmFileSet fileSet)
          
 ExportScmResult export(ScmRepository repository, ScmFileSet fileSet)
          
 ExportScmResult export(ScmRepository repository, ScmFileSet fileSet, ScmVersion version)
          
 ExportScmResult export(ScmRepository repository, ScmFileSet fileSet, ScmVersion version, String outputDirectory)
          
 ExportScmResult export(ScmRepository repository, ScmFileSet fileSet, String tag)
          
 ExportScmResult export(ScmRepository repository, ScmFileSet fileSet, String tag, String outputDirectory)
          
 AddScmResult getAddScmResult()
           
 BlameScmResult getBlameScmResult()
           
 BranchScmResult getBranchScmResult()
           
 ChangeLogScmResult getChangeLogScmResult()
           
 CheckInScmResult getCheckInScmResult()
           
 CheckOutScmResult getCheckOutScmResult()
           
 DiffScmResult getDiffScmResult()
           
 EditScmResult getEditScmResult()
           
 ExportScmResult getExportScmResult()
           
 ListScmResult getListScmResult()
           
 MkdirScmResult getMkdirScmResult()
           
 RemoveScmResult getRemoveScmResult()
           
 String getScmSpecificFilename()
          
 String getScmType()
          
 StatusScmResult getStatusScmResult()
           
 TagScmResult getTagScmResult()
           
 UnEditScmResult getUnEditScmResult()
           
 UpdateScmResult getUpdateScmResult()
           
 InfoScmResult info(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters)
           
 ListScmResult list(ScmRepository repository, ScmFileSet fileSet, boolean recursive, ScmVersion version)
          
 ListScmResult list(ScmRepository repository, ScmFileSet fileSet, boolean recursive, String tag)
          
 ScmProviderRepository makeProviderScmRepository(File path)
          
 ScmProviderRepository makeProviderScmRepository(String scmSpecificUrl, char delimiter)
          
 MkdirScmResult mkdir(ScmRepository repository, ScmFileSet fileSet, String message, boolean createInLocal)
          
 RemoteInfoScmResult remoteInfo(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters)
           
 RemoveScmResult remove(ScmRepository repository, ScmFileSet fileSet, String message)
          
 boolean requiresEditMode()
           
 String sanitizeTagName(String tag)
          
 void setAddScmResult(AddScmResult addScmResult)
           
 void setBlameScmResult(BlameScmResult blameScmResult)
           
 void setBranchScmResult(BranchScmResult branchScmResult)
           
 void setChangeLogScmResult(ChangeLogScmResult changeLogScmResult)
           
 void setCheckInScmResult(CheckInScmResult checkInScmResult)
           
 void setCheckOutScmResult(CheckOutScmResult checkOutScmResult)
           
 void setDiffScmResult(DiffScmResult diffScmResult)
           
 void setEditScmResult(EditScmResult editScmResult)
           
 void setExportScmResult(ExportScmResult exportScmResult)
           
 void setListScmResult(ListScmResult listScmResult)
           
 void setMkdirScmResult(MkdirScmResult mkdirScmResult)
           
 void setRemoveScmResult(RemoveScmResult removeScmResult)
           
 void setScmSpecificFilename(String scmSpecificFilename)
           
 void setStatusScmResult(StatusScmResult statusScmResult)
           
 void setTagScmResult(TagScmResult tagScmResult)
           
 void setUnEditScmResult(UnEditScmResult unEditScmResult)
           
 void setUpdateScmResult(UpdateScmResult updateScmResult)
           
 StatusScmResult status(ScmRepository repository, ScmFileSet fileSet)
          
 TagScmResult tag(ScmRepository repository, ScmFileSet fileSet, String tag)
          
 TagScmResult tag(ScmRepository repository, ScmFileSet fileSet, String tagName, ScmTagParameters scmTagParameters)
           
 TagScmResult tag(ScmRepository repository, ScmFileSet fileSet, String tag, String message)
          
 UnEditScmResult unedit(ScmRepository repository, ScmFileSet fileSet)
          
 UpdateScmResult update(ScmRepository repository, ScmFileSet fileSet)
          
 UpdateScmResult update(ScmRepository repository, ScmFileSet fileSet, boolean runChangelog)
          
 UpdateScmResult update(ScmRepository repository, ScmFileSet fileSet, ScmVersion version)
          
 UpdateScmResult update(ScmRepository repository, ScmFileSet fileSet, ScmVersion version, boolean runChangelog)
          
 UpdateScmResult update(ScmRepository repository, ScmFileSet fileSet, ScmVersion version, Date lastUpdate)
          
 UpdateScmResult update(ScmRepository repository, ScmFileSet fileSet, ScmVersion version, Date lastUpdate, String datePattern)
          
 UpdateScmResult update(ScmRepository repository, ScmFileSet fileSet, ScmVersion version, String datePattern)
          
 UpdateScmResult update(ScmRepository repository, ScmFileSet fileSet, String tag)
          
 UpdateScmResult update(ScmRepository repository, ScmFileSet fileSet, String tag, boolean runChangelog)
          
 UpdateScmResult update(ScmRepository repository, ScmFileSet fileSet, String tag, Date lastUpdate)
          
 UpdateScmResult update(ScmRepository repository, ScmFileSet fileSet, String tag, Date lastUpdate, String datePattern)
          
 UpdateScmResult update(ScmRepository repository, ScmFileSet fileSet, String tag, Date lastUpdate, String datePattern, boolean runChangelog)
           
 UpdateScmResult update(ScmRepository repository, ScmFileSet fileSet, String tag, String datePattern)
          
 List<String> validateScmUrl(String scmSpecificUrl, char delimiter)
          
 boolean validateTagName(String tag)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScmProviderStub

public ScmProviderStub()
Create a new ScmProviderStub with bogus (not null) attributes

Method Detail

sanitizeTagName

public String sanitizeTagName(String tag)

Specified by:
sanitizeTagName in interface ScmProvider

validateTagName

public boolean validateTagName(String tag)

Specified by:
validateTagName in interface ScmProvider

getScmType

public String getScmType()

Specified by:
getScmType in interface ScmProvider

setScmSpecificFilename

public void setScmSpecificFilename(String scmSpecificFilename)

addListener

public void addListener(ScmLogger logger)

Specified by:
addListener in interface ScmProvider

requiresEditMode

public boolean requiresEditMode()
Specified by:
requiresEditMode in interface ScmProvider

setAddScmResult

public void setAddScmResult(AddScmResult addScmResult)

getAddScmResult

public AddScmResult getAddScmResult()

setBranchScmResult

public void setBranchScmResult(BranchScmResult branchScmResult)

getBranchScmResult

public BranchScmResult getBranchScmResult()

setCheckInScmResult

public void setCheckInScmResult(CheckInScmResult checkInScmResult)

getCheckInScmResult

public CheckInScmResult getCheckInScmResult()

setCheckOutScmResult

public void setCheckOutScmResult(CheckOutScmResult checkOutScmResult)

getCheckOutScmResult

public CheckOutScmResult getCheckOutScmResult()

setChangeLogScmResult

public void setChangeLogScmResult(ChangeLogScmResult changeLogScmResult)

getChangeLogScmResult

public ChangeLogScmResult getChangeLogScmResult()

setDiffScmResult

public void setDiffScmResult(DiffScmResult diffScmResult)

getDiffScmResult

public DiffScmResult getDiffScmResult()

getExportScmResult

public ExportScmResult getExportScmResult()

setExportScmResult

public void setExportScmResult(ExportScmResult exportScmResult)

setTagScmResult

public void setTagScmResult(TagScmResult tagScmResult)

getTagScmResult

public TagScmResult getTagScmResult()

setRemoveScmResult

public void setRemoveScmResult(RemoveScmResult removeScmResult)

getRemoveScmResult

public RemoveScmResult getRemoveScmResult()

setStatusScmResult

public void setStatusScmResult(StatusScmResult statusScmResult)

getStatusScmResult

public StatusScmResult getStatusScmResult()

setUpdateScmResult

public void setUpdateScmResult(UpdateScmResult updateScmResult)

getUpdateScmResult

public UpdateScmResult getUpdateScmResult()

setEditScmResult

public void setEditScmResult(EditScmResult editScmResult)

getEditScmResult

public EditScmResult getEditScmResult()

setUnEditScmResult

public void setUnEditScmResult(UnEditScmResult unEditScmResult)

getUnEditScmResult

public UnEditScmResult getUnEditScmResult()

setListScmResult

public void setListScmResult(ListScmResult listScmResult)

getListScmResult

public ListScmResult getListScmResult()

setBlameScmResult

public void setBlameScmResult(BlameScmResult blameScmResult)

getBlameScmResult

public BlameScmResult getBlameScmResult()

getMkdirScmResult

public MkdirScmResult getMkdirScmResult()

setMkdirScmResult

public void setMkdirScmResult(MkdirScmResult mkdirScmResult)

makeProviderScmRepository

public ScmProviderRepository makeProviderScmRepository(String scmSpecificUrl,
                                                       char delimiter)
                                                throws ScmRepositoryException

Specified by:
makeProviderScmRepository in interface ScmProvider
Throws:
ScmRepositoryException

makeProviderScmRepository

public ScmProviderRepository makeProviderScmRepository(File path)
                                                throws ScmRepositoryException,
                                                       UnknownRepositoryStructure

Specified by:
makeProviderScmRepository in interface ScmProvider
Throws:
ScmRepositoryException
UnknownRepositoryStructure

validateScmUrl

public List<String> validateScmUrl(String scmSpecificUrl,
                                   char delimiter)

Specified by:
validateScmUrl in interface ScmProvider

getScmSpecificFilename

public String getScmSpecificFilename()

Specified by:
getScmSpecificFilename in interface ScmProvider

add

public AddScmResult add(ScmRepository repository,
                        ScmFileSet fileSet)
                 throws ScmException

Specified by:
add in interface ScmProvider
Throws:
ScmException

add

public AddScmResult add(ScmRepository repository,
                        ScmFileSet fileSet,
                        String message)
                 throws ScmException

Specified by:
add in interface ScmProvider
Throws:
ScmException

add

public AddScmResult add(ScmRepository repository,
                        ScmFileSet fileSet,
                        CommandParameters commandParameters)
                 throws ScmException
Specified by:
add in interface ScmProvider
Throws:
ScmException

branch

public BranchScmResult branch(ScmRepository repository,
                              ScmFileSet fileSet,
                              String branchName)
                       throws ScmException

Specified by:
branch in interface ScmProvider
Throws:
ScmException

branch

public BranchScmResult branch(ScmRepository repository,
                              ScmFileSet fileSet,
                              String branchName,
                              String message)
                       throws ScmException

Specified by:
branch in interface ScmProvider
Throws:
ScmException

branch

public BranchScmResult branch(ScmRepository repository,
                              ScmFileSet fileSet,
                              String branchName,
                              ScmBranchParameters scmBranchParameters)
                       throws ScmException

Specified by:
branch in interface ScmProvider
Throws:
ScmException

changeLog

public ChangeLogScmResult changeLog(ScmRepository repository,
                                    ScmFileSet fileSet,
                                    Date startDate,
                                    Date endDate,
                                    int numDays,
                                    String branch)
                             throws ScmException

Specified by:
changeLog in interface ScmProvider
Throws:
ScmException

changeLog

public ChangeLogScmResult changeLog(ScmRepository repository,
                                    ScmFileSet fileSet,
                                    Date startDate,
                                    Date endDate,
                                    int numDays,
                                    String branch,
                                    String datePattern)
                             throws ScmException

Specified by:
changeLog in interface ScmProvider
Throws:
ScmException

changeLog

public ChangeLogScmResult changeLog(ScmRepository repository,
                                    ScmFileSet fileSet,
                                    String startTag,
                                    String endTag)
                             throws ScmException

Specified by:
changeLog in interface ScmProvider
Throws:
ScmException

changeLog

public ChangeLogScmResult changeLog(ScmRepository repository,
                                    ScmFileSet fileSet,
                                    String startTag,
                                    String endTag,
                                    String datePattern)
                             throws ScmException

Specified by:
changeLog in interface ScmProvider
Throws:
ScmException

changeLog

public ChangeLogScmResult changeLog(ScmRepository repository,
                                    ScmFileSet fileSet,
                                    Date startDate,
                                    Date endDate,
                                    int numDays,
                                    ScmBranch branch)
                             throws ScmException

Specified by:
changeLog in interface ScmProvider
Throws:
ScmException

changeLog

public ChangeLogScmResult changeLog(ScmRepository repository,
                                    ScmFileSet fileSet,
                                    Date startDate,
                                    Date endDate,
                                    int numDays,
                                    ScmBranch branch,
                                    String datePattern)
                             throws ScmException

Specified by:
changeLog in interface ScmProvider
Throws:
ScmException

changeLog

public ChangeLogScmResult changeLog(ChangeLogScmRequest scmRequest)
                             throws ScmException
Specified by:
changeLog in interface ScmProvider
Throws:
ScmException

changeLog

public ChangeLogScmResult changeLog(ScmRepository repository,
                                    ScmFileSet fileSet,
                                    ScmVersion startVersion,
                                    ScmVersion endVersion)
                             throws ScmException

Specified by:
changeLog in interface ScmProvider
Throws:
ScmException

changeLog

public ChangeLogScmResult changeLog(ScmRepository repository,
                                    ScmFileSet fileSet,
                                    ScmVersion startRevision,
                                    ScmVersion endRevision,
                                    String datePattern)
                             throws ScmException

Specified by:
changeLog in interface ScmProvider
Throws:
ScmException

checkIn

public CheckInScmResult checkIn(ScmRepository repository,
                                ScmFileSet fileSet,
                                String tag,
                                String message)
                         throws ScmException

Specified by:
checkIn in interface ScmProvider
Throws:
ScmException

checkIn

public CheckInScmResult checkIn(ScmRepository repository,
                                ScmFileSet fileSet,
                                String message)
                         throws ScmException

Specified by:
checkIn in interface ScmProvider
Throws:
ScmException

checkIn

public CheckInScmResult checkIn(ScmRepository repository,
                                ScmFileSet fileSet,
                                ScmVersion revision,
                                String message)
                         throws ScmException

Specified by:
checkIn in interface ScmProvider
Throws:
ScmException

checkOut

public CheckOutScmResult checkOut(ScmRepository scmRepository,
                                  ScmFileSet scmFileSet,
                                  String tag,
                                  boolean recursive)
                           throws ScmException

Specified by:
checkOut in interface ScmProvider
Throws:
ScmException

checkOut

public CheckOutScmResult checkOut(ScmRepository repository,
                                  ScmFileSet fileSet,
                                  String tag)
                           throws ScmException

Specified by:
checkOut in interface ScmProvider
Throws:
ScmException

checkOut

public CheckOutScmResult checkOut(ScmRepository repository,
                                  ScmFileSet fileSet)
                           throws ScmException

Specified by:
checkOut in interface ScmProvider
Throws:
ScmException

checkOut

public CheckOutScmResult checkOut(ScmRepository repository,
                                  ScmFileSet fileSet,
                                  ScmVersion version)
                           throws ScmException

Specified by:
checkOut in interface ScmProvider
Throws:
ScmException

checkOut

public CheckOutScmResult checkOut(ScmRepository scmRepository,
                                  ScmFileSet scmFileSet,
                                  boolean recursive)
                           throws ScmException

Specified by:
checkOut in interface ScmProvider
Throws:
ScmException

checkOut

public CheckOutScmResult checkOut(ScmRepository scmRepository,
                                  ScmFileSet scmFileSet,
                                  ScmVersion version,
                                  boolean recursive)
                           throws ScmException

Specified by:
checkOut in interface ScmProvider
Throws:
ScmException

diff

public DiffScmResult diff(ScmRepository repository,
                          ScmFileSet fileSet,
                          String startRevision,
                          String endRevision)
                   throws ScmException

Specified by:
diff in interface ScmProvider
Throws:
ScmException

diff

public DiffScmResult diff(ScmRepository scmRepository,
                          ScmFileSet scmFileSet,
                          ScmVersion startVersion,
                          ScmVersion endVersion)
                   throws ScmException

Specified by:
diff in interface ScmProvider
Throws:
ScmException

update

public UpdateScmResult update(ScmRepository repository,
                              ScmFileSet fileSet,
                              String tag,
                              Date lastUpdate,
                              String datePattern,
                              boolean runChangelog)
                       throws ScmException
Returns:
getUpdateScmResult() always
Throws:
ScmException

edit

public EditScmResult edit(ScmRepository repository,
                          ScmFileSet fileSet)
                   throws ScmException

Specified by:
edit in interface ScmProvider
Throws:
ScmException

export

public ExportScmResult export(ScmRepository repository,
                              ScmFileSet fileSet,
                              String tag)
                       throws ScmException

Specified by:
export in interface ScmProvider
Throws:
ScmException

export

public ExportScmResult export(ScmRepository repository,
                              ScmFileSet fileSet,
                              String tag,
                              String outputDirectory)
                       throws ScmException

Specified by:
export in interface ScmProvider
Throws:
ScmException

export

public ExportScmResult export(ScmRepository repository,
                              ScmFileSet fileSet)
                       throws ScmException

Specified by:
export in interface ScmProvider
Throws:
ScmException

export

public ExportScmResult export(ScmRepository repository,
                              ScmFileSet fileSet,
                              ScmVersion version)
                       throws ScmException

Specified by:
export in interface ScmProvider
Throws:
ScmException

export

public ExportScmResult export(ScmRepository repository,
                              ScmFileSet fileSet,
                              ScmVersion version,
                              String outputDirectory)
                       throws ScmException

Specified by:
export in interface ScmProvider
Throws:
ScmException

list

public ListScmResult list(ScmRepository repository,
                          ScmFileSet fileSet,
                          boolean recursive,
                          String tag)
                   throws ScmException

Specified by:
list in interface ScmProvider
Throws:
ScmException

list

public ListScmResult list(ScmRepository repository,
                          ScmFileSet fileSet,
                          boolean recursive,
                          ScmVersion version)
                   throws ScmException

Specified by:
list in interface ScmProvider
Throws:
ScmException

remove

public RemoveScmResult remove(ScmRepository repository,
                              ScmFileSet fileSet,
                              String message)
                       throws ScmException

Specified by:
remove in interface ScmProvider
Throws:
ScmException

status

public StatusScmResult status(ScmRepository repository,
                              ScmFileSet fileSet)
                       throws ScmException

Specified by:
status in interface ScmProvider
Throws:
ScmException

tag

public TagScmResult tag(ScmRepository repository,
                        ScmFileSet fileSet,
                        String tag)
                 throws ScmException

Specified by:
tag in interface ScmProvider
Throws:
ScmException

tag

public TagScmResult tag(ScmRepository repository,
                        ScmFileSet fileSet,
                        String tag,
                        String message)
                 throws ScmException

Specified by:
tag in interface ScmProvider
Throws:
ScmException

tag

public TagScmResult tag(ScmRepository repository,
                        ScmFileSet fileSet,
                        String tagName,
                        ScmTagParameters scmTagParameters)
                 throws ScmException
Specified by:
tag in interface ScmProvider
Throws:
ScmException

update

public UpdateScmResult update(ScmRepository repository,
                              ScmFileSet fileSet,
                              String tag)
                       throws ScmException

Specified by:
update in interface ScmProvider
Throws:
ScmException

update

public UpdateScmResult update(ScmRepository repository,
                              ScmFileSet fileSet,
                              String tag,
                              boolean runChangelog)
                       throws ScmException

Specified by:
update in interface ScmProvider
Throws:
ScmException

update

public UpdateScmResult update(ScmRepository repository,
                              ScmFileSet fileSet,
                              String tag,
                              String datePattern)
                       throws ScmException

Specified by:
update in interface ScmProvider
Throws:
ScmException

update

public UpdateScmResult update(ScmRepository repository,
                              ScmFileSet fileSet,
                              String tag,
                              Date lastUpdate)
                       throws ScmException

Specified by:
update in interface ScmProvider
Throws:
ScmException

update

public UpdateScmResult update(ScmRepository repository,
                              ScmFileSet fileSet,
                              String tag,
                              Date lastUpdate,
                              String datePattern)
                       throws ScmException

Specified by:
update in interface ScmProvider
Throws:
ScmException

update

public UpdateScmResult update(ScmRepository repository,
                              ScmFileSet fileSet)
                       throws ScmException

Specified by:
update in interface ScmProvider
Throws:
ScmException

update

public UpdateScmResult update(ScmRepository repository,
                              ScmFileSet fileSet,
                              ScmVersion version)
                       throws ScmException

Specified by:
update in interface ScmProvider
Throws:
ScmException

update

public UpdateScmResult update(ScmRepository repository,
                              ScmFileSet fileSet,
                              boolean runChangelog)
                       throws ScmException

Specified by:
update in interface ScmProvider
Throws:
ScmException

update

public UpdateScmResult update(ScmRepository repository,
                              ScmFileSet fileSet,
                              ScmVersion version,
                              boolean runChangelog)
                       throws ScmException

Specified by:
update in interface ScmProvider
Throws:
ScmException

update

public UpdateScmResult update(ScmRepository repository,
                              ScmFileSet fileSet,
                              ScmVersion version,
                              String datePattern)
                       throws ScmException

Specified by:
update in interface ScmProvider
Throws:
ScmException

update

public UpdateScmResult update(ScmRepository repository,
                              ScmFileSet fileSet,
                              ScmVersion version,
                              Date lastUpdate)
                       throws ScmException

Specified by:
update in interface ScmProvider
Throws:
ScmException

update

public UpdateScmResult update(ScmRepository repository,
                              ScmFileSet fileSet,
                              ScmVersion version,
                              Date lastUpdate,
                              String datePattern)
                       throws ScmException

Specified by:
update in interface ScmProvider
Throws:
ScmException

unedit

public UnEditScmResult unedit(ScmRepository repository,
                              ScmFileSet fileSet)
                       throws ScmException

Specified by:
unedit in interface ScmProvider
Throws:
ScmException

blame

public BlameScmResult blame(ScmRepository repository,
                            ScmFileSet fileSet,
                            String filename)
                     throws ScmException

Specified by:
blame in interface ScmProvider
Throws:
ScmException

blame

public BlameScmResult blame(BlameScmRequest blameScmRequest)
                     throws ScmException
Specified by:
blame in interface ScmProvider
Throws:
ScmException

mkdir

public MkdirScmResult mkdir(ScmRepository repository,
                            ScmFileSet fileSet,
                            String message,
                            boolean createInLocal)
                     throws ScmException

Specified by:
mkdir in interface ScmProvider
Throws:
ScmException

info

public InfoScmResult info(ScmProviderRepository repository,
                          ScmFileSet fileSet,
                          CommandParameters parameters)
                   throws ScmException
Specified by:
info in interface ScmProvider
Throws:
ScmException

remoteInfo

public RemoteInfoScmResult remoteInfo(ScmProviderRepository repository,
                                      ScmFileSet fileSet,
                                      CommandParameters parameters)
                               throws ScmException
Specified by:
remoteInfo in interface ScmProvider
Throws:
ScmException


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.