public class HgScmProvider extends AbstractScmProvider
ROLE
Constructor and Description |
---|
HgScmProvider() |
add, add, add, addListener, blame, blame, branch, branch, branch, changeLog, changeLog, changeLog, changeLog, changeLog, changeLog, changeLog, changeLog, changeLog, checkIn, checkIn, checkIn, checkOut, checkOut, checkOut, checkOut, checkOut, checkOut, checkOut, diff, diff, edit, edit, export, export, export, export, export, export, getLogger, list, list, login, mkdir, mkdir, remoteInfo, remove, requiresEditMode, sanitizeTagName, status, tag, tag, tag, unedit, unedit, untag, update, update, update, update, update, update, update, update, update, update, update, update, validateTagName
public HgScmProvider()
public String getScmSpecificFilename()
getScmSpecificFilename
in interface ScmProvider
getScmSpecificFilename
in class AbstractScmProvider
public ScmProviderRepository makeProviderScmRepository(String scmSpecificUrl, char delimiter) throws ScmRepositoryException
ScmRepositoryException
public ScmProviderRepository makeProviderScmRepository(File path) throws ScmRepositoryException, UnknownRepositoryStructure
makeProviderScmRepository
in interface ScmProvider
makeProviderScmRepository
in class AbstractScmProvider
ScmRepositoryException
UnknownRepositoryStructure
public List<String> validateScmUrl(String scmSpecificUrl, char delimiter)
validateScmUrl
in interface ScmProvider
validateScmUrl
in class AbstractScmProvider
scmSpecificUrl
- The SCM urldelimiter
- The delimiter used in the SCM urlpublic String getScmType()
public AddScmResult add(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
add
in class AbstractScmProvider
ScmException
public ChangeLogScmResult changelog(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
changelog
in class AbstractScmProvider
ScmException
public CheckInScmResult checkin(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
checkin
in class AbstractScmProvider
ScmException
public CheckOutScmResult checkout(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
checkout
in class AbstractScmProvider
ScmException
public TagScmResult tag(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
tag
in class AbstractScmProvider
ScmException
public DiffScmResult diff(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
diff
in class AbstractScmProvider
ScmException
public RemoveScmResult remove(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
remove
in class AbstractScmProvider
ScmException
public StatusScmResult status(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
status
in class AbstractScmProvider
ScmException
public UpdateScmResult update(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
update
in class AbstractScmProvider
ScmException
protected BlameScmResult blame(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
blame
in class AbstractScmProvider
ScmException
public BranchScmResult branch(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
branch
in class AbstractScmProvider
ScmException
protected ListScmResult list(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
AbstractScmProvider
list
in class AbstractScmProvider
repository
- the source control systemfileSet
- the files to listNoSuchCommandScmException
- unless overriden by subclassScmException
- if anypublic InfoScmResult info(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
info
in interface ScmProvider
info
in class AbstractScmProvider
repository
- the source control systemfileSet
- location of your local copyparameters
- some parameters (not use currently but for future use)null
ScmException
AbstractScmProvider.info(org.apache.maven.scm.provider.ScmProviderRepository, org.apache.maven.scm.ScmFileSet, org.apache.maven.scm.CommandParameters)
Copyright © 2003–2021 The Apache Software Foundation. All rights reserved.