public abstract class AbstractGitScmProvider extends AbstractScmProvider
ROLE| Constructor and Description | 
|---|
AbstractGitScmProvider()  | 
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, getLogger, 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, validateTagNamepublic AbstractGitScmProvider()
public String getScmSpecificFilename()
getScmSpecificFilename in interface ScmProvidergetScmSpecificFilename in class AbstractScmProviderpublic ScmProviderRepository makeProviderScmRepository(String scmSpecificUrl, char delimiter) throws ScmRepositoryException
ScmRepositoryExceptionpublic ScmProviderRepository makeProviderScmRepository(File path) throws ScmRepositoryException, UnknownRepositoryStructure
makeProviderScmRepository in interface ScmProvidermakeProviderScmRepository in class AbstractScmProviderScmRepositoryExceptionUnknownRepositoryStructureprotected abstract String getRepositoryURL(File path) throws ScmException
ScmExceptionpublic List<String> validateScmUrl(String scmSpecificUrl, char delimiter)
validateScmUrl in interface ScmProvidervalidateScmUrl in class AbstractScmProviderscmSpecificUrl - The SCM urldelimiter - The delimiter used in the SCM urlpublic String getScmType()
protected abstract GitCommand getAddCommand()
public AddScmResult add(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
add in class AbstractScmProviderScmExceptionprotected abstract GitCommand getBranchCommand()
protected BranchScmResult branch(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
branch in class AbstractScmProviderScmExceptionprotected abstract GitCommand getChangeLogCommand()
public ChangeLogScmResult changelog(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
changelog in class AbstractScmProviderScmExceptionprotected abstract GitCommand getCheckInCommand()
public CheckInScmResult checkin(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
checkin in class AbstractScmProviderScmExceptionprotected abstract GitCommand getCheckOutCommand()
public CheckOutScmResult checkout(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
checkout in class AbstractScmProviderScmExceptionprotected abstract GitCommand getDiffCommand()
public DiffScmResult diff(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
diff in class AbstractScmProviderScmExceptionprotected abstract GitCommand getExportCommand()
protected ExportScmResult export(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
export in class AbstractScmProviderScmExceptionprotected abstract GitCommand getRemoveCommand()
public RemoveScmResult remove(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
remove in class AbstractScmProviderScmExceptionprotected abstract GitCommand getStatusCommand()
public StatusScmResult status(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
status in class AbstractScmProviderScmExceptionprotected abstract GitCommand getTagCommand()
public TagScmResult tag(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
tag in class AbstractScmProviderScmExceptionprotected abstract GitCommand getUpdateCommand()
public UpdateScmResult update(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
update in class AbstractScmProviderScmExceptionprotected ScmResult executeCommand(GitCommand command, ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
ScmExceptionprotected abstract GitCommand getInfoCommand()
public InfoScmResult info(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
info in interface ScmProviderinfo in class AbstractScmProviderrepository - the source control systemfileSet - location of your local copyparameters - some parameters (not use currently but for future use)nullScmExceptionprotected BlameScmResult blame(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
blame in class AbstractScmProviderScmExceptionprotected abstract GitCommand getBlameCommand()
public RemoteInfoScmResult remoteInfo(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
remoteInfo in interface ScmProviderremoteInfo in class AbstractScmProviderrepository - the source control systemfileSet - not use currently but for future useparameters - some parameters (not use currently but for future use)nullScmExceptionprotected abstract GitCommand getRemoteInfoCommand()
Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.