public class IntegrityScmProvider extends AbstractScmProvider
|
Modifier and Type | Field and Description |
---|---|
static String |
INTEGRITY_CM_URL |
ROLE
Constructor and Description |
---|
IntegrityScmProvider() |
Modifier and Type | Method and Description |
---|---|
AddScmResult |
add(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params)
Maps to si viewnonmembers and then si add for every non-member
|
protected BlameScmResult |
blame(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params)
Maps to si annotate
|
protected BranchScmResult |
branch(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params)
Maps to si createdevpath
|
protected ChangeLogScmResult |
changelog(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters parameters)
Maps to si rlog --rfilter=daterange:date1-date2
|
protected CheckInScmResult |
checkin(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params)
Maps to a si ci
|
protected CheckOutScmResult |
checkout(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params)
Maps to si createsandbox and/or si resync
|
protected DiffScmResult |
diff(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params)
Maps to si diff
|
protected EditScmResult |
edit(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params)
Maps to si makewritable
|
protected ExportScmResult |
export(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params)
Maps to si projectco (no sandbox is used)
|
protected ScmResult |
fileinfo(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params)
Maps to si memberinfo
|
String |
getScmType()
Returns the name of our SCM Provider
|
protected ListScmResult |
list(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params)
Maps to si viewproject
|
protected ScmResult |
lock(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params)
Maps to si lock
|
protected LoginScmResult |
login(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params)
Maps to si connect and initialization of the project with si projectinfo
|
ScmProviderRepository |
makeProviderScmRepository(String scmSpecificUrl,
char delimiter)
This class is the central point of the SCM provider.
|
protected MkdirScmResult |
mkdir(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params)
Maps to si createsubproject
|
protected RemoveScmResult |
remove(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params)
Maps to si dropsandbox
|
protected StatusScmResult |
status(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params)
Maps to si viewsandbox with a filter of locally changed files
|
protected TagScmResult |
tag(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params)
Maps to si checkpoint
|
protected UnEditScmResult |
unedit(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params)
Maps to si revert
|
protected ScmResult |
unlock(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params)
Maps to si unlock
|
protected UpdateScmResult |
update(ScmProviderRepository repository,
ScmFileSet fileSet,
CommandParameters params)
Maps to si resync
|
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, diff, diff, edit, export, export, export, export, export, getLogger, getScmSpecificFilename, info, list, list, makeProviderScmRepository, mkdir, remoteInfo, remove, requiresEditMode, sanitizeTagName, status, tag, tag, tag, unedit, update, update, update, update, update, update, update, update, update, update, update, update, validateScmUrl, validateTagName
public static final String INTEGRITY_CM_URL
public IntegrityScmProvider()
public String getScmType()
public ScmProviderRepository makeProviderScmRepository(String scmSpecificUrl, char delimiter) throws ScmRepositoryException
scmSpecificUrl
- The SCM URL specific to our implementation for this plugindelimiter
- The character that separates the information aboveScmRepositoryException
protected LoginScmResult login(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
login
in class AbstractScmProvider
ScmException
protected ChangeLogScmResult changelog(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
changelog
in class AbstractScmProvider
ScmException
public AddScmResult add(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
add
in class AbstractScmProvider
ScmException
protected RemoveScmResult remove(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
remove
in class AbstractScmProvider
ScmException
protected CheckInScmResult checkin(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
checkin
in class AbstractScmProvider
ScmException
protected CheckOutScmResult checkout(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
checkout
in class AbstractScmProvider
ScmException
protected DiffScmResult diff(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
diff
in class AbstractScmProvider
ScmException
protected EditScmResult edit(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
edit
in class AbstractScmProvider
ScmException
protected StatusScmResult status(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
status
in class AbstractScmProvider
ScmException
protected TagScmResult tag(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
tag
in class AbstractScmProvider
ScmException
protected UnEditScmResult unedit(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
unedit
in class AbstractScmProvider
ScmException
protected UpdateScmResult update(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
update
in class AbstractScmProvider
ScmException
protected BlameScmResult blame(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
blame
in class AbstractScmProvider
ScmException
protected ListScmResult list(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
list
in class AbstractScmProvider
repository
- the source control systemfileSet
- the files to listNoSuchCommandScmException
- unless overriden by subclassScmException
- if anyprotected ExportScmResult export(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
export
in class AbstractScmProvider
ScmException
protected BranchScmResult branch(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
branch
in class AbstractScmProvider
ScmException
protected MkdirScmResult mkdir(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
mkdir
in class AbstractScmProvider
ScmException
protected ScmResult fileinfo(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
ScmException
protected ScmResult lock(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
ScmException
protected ScmResult unlock(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters params) throws ScmException
ScmException
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.