public abstract class AbstractGitScmProvider extends AbstractScmProvider
logger
Constructor and Description |
---|
AbstractGitScmProvider() |
add, add, add, 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, list, list, list, login, mkdir, mkdir, remove, requiresEditMode, sanitizeTagName, status, tag, tag, tag, unedit, unedit, update, update, update, update, update, update, update, update, update, update, update, update, validateTagName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setInteractive
public AbstractGitScmProvider()
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
protected abstract String getRepositoryURL(File path) throws ScmException
ScmException
public List<String> validateScmUrl(String scmSpecificUrl, char delimiter)
validateScmUrl
in interface ScmProvider
validateScmUrl
in class AbstractScmProvider
public String getScmType()
protected abstract GitCommand getAddCommand()
public AddScmResult add(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
add
in class AbstractScmProvider
ScmException
protected abstract GitCommand getBranchCommand()
protected BranchScmResult branch(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
branch
in class AbstractScmProvider
ScmException
protected abstract GitCommand getChangeLogCommand()
public ChangeLogScmResult changelog(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
changelog
in class AbstractScmProvider
ScmException
protected abstract GitCommand getCheckInCommand()
public CheckInScmResult checkin(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
checkin
in class AbstractScmProvider
ScmException
protected abstract GitCommand getCheckOutCommand()
public CheckOutScmResult checkout(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
checkout
in class AbstractScmProvider
ScmException
protected abstract GitCommand getDiffCommand()
public DiffScmResult diff(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
diff
in class AbstractScmProvider
ScmException
protected abstract GitCommand getExportCommand()
protected ExportScmResult export(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
export
in class AbstractScmProvider
ScmException
protected abstract GitCommand getRemoveCommand()
public RemoveScmResult remove(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
remove
in class AbstractScmProvider
ScmException
protected abstract GitCommand getStatusCommand()
public StatusScmResult status(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
status
in class AbstractScmProvider
ScmException
protected abstract GitCommand getTagCommand()
public TagScmResult tag(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
tag
in class AbstractScmProvider
ScmException
protected abstract GitCommand getUntagCommand()
public UntagScmResult untag(ScmRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
untag
in interface ScmProvider
untag
in class AbstractScmProvider
ScmException
protected abstract GitCommand getUpdateCommand()
public UpdateScmResult update(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
update
in class AbstractScmProvider
ScmException
protected ScmResult executeCommand(GitCommand command, ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
ScmException
protected abstract GitCommand getInfoCommand()
public InfoScmResult info(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
info
in interface ScmProvider
info
in class AbstractScmProvider
ScmException
protected BlameScmResult blame(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
blame
in class AbstractScmProvider
ScmException
protected abstract GitCommand getBlameCommand()
public RemoteInfoScmResult remoteInfo(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
remoteInfo
in interface ScmProvider
remoteInfo
in class AbstractScmProvider
ScmException
protected abstract GitCommand getRemoteInfoCommand()
Copyright © 2003–2024 The Apache Software Foundation. All rights reserved.