public class JazzScmProvider extends AbstractScmProvider
This provider is a wrapper for the command line tool, "scm.sh" or "scm.exe" is that is part of the Jazz SCM Server.
This provider does not use a native API to communicate with the Jazz SCM server.
The scm tool itself is documented at: V2.0.0 - http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/topic/com.ibm.team.scm.doc/topics/r_scm_cli_scm.html V3.0 - http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0/topic/com.ibm.team.scm.doc/topics/r_scm_cli_scm.html V3.0.1 - http://publib.boulder.ibm.com/infocenter/clmhelp/v3r0m1/topic/com.ibm.team.scm.doc/topics/r_scm_cli_scm.html
| Modifier and Type | Field and Description |
|---|---|
static String |
JAZZ_URL_FORMAT |
ROLE| Constructor and Description |
|---|
JazzScmProvider() |
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, export, export, export, export, export, getLogger, info, list, list, login, makeProviderScmRepository, mkdir, mkdir, remoteInfo, remove, remove, requiresEditMode, sanitizeTagName, status, tag, tag, tag, unedit, untag, update, update, update, update, update, update, update, update, update, update, update, update, validateScmUrl, validateTagNamepublic static final String JAZZ_URL_FORMAT
public JazzScmProvider()
public String getScmType()
public ScmProviderRepository makeProviderScmRepository(String scmUrl, char delimiter) throws ScmRepositoryException
The basic url parsing approach is to be as loose as possible. If you specify as per the docs you'll get what you expect. If you do something else the result is undefined. Don't use "/" "\" or "@" as the delimiter.
Parse the scmUrl, which will be of the form: [username[;password]@]http[s]://server_name[:port]/contextRoot:repositoryWorkspace eg: Deb;Deb@https://rtc:9444/jazz:BogusRepositoryWorkspace
ScmRepositoryExceptionpublic AddScmResult add(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
add in class AbstractScmProviderScmExceptionprotected BranchScmResult branch(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
branch in class AbstractScmProviderScmExceptionprotected BlameScmResult blame(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
blame in class AbstractScmProviderScmExceptionprotected ChangeLogScmResult changelog(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
changelog in class AbstractScmProviderScmExceptionprotected CheckInScmResult checkin(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
checkin in class AbstractScmProviderScmExceptionprotected CheckOutScmResult checkout(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
checkout in class AbstractScmProviderScmExceptionprotected DiffScmResult diff(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
diff in class AbstractScmProviderScmExceptionprotected EditScmResult edit(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
edit in class AbstractScmProviderScmExceptionprotected ExportScmResult export(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
export in class AbstractScmProviderScmExceptionprotected ListScmResult list(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
list in class AbstractScmProviderrepository - the source control systemfileSet - the files to listparameters - TODONoSuchCommandScmException - unless overriden by subclassScmException - if anyprotected StatusScmResult status(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
status in class AbstractScmProviderScmExceptionprotected TagScmResult tag(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
tag in class AbstractScmProviderScmExceptionprotected UpdateScmResult update(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
update in class AbstractScmProviderScmExceptionprotected UnEditScmResult unedit(ScmProviderRepository repository, ScmFileSet fileSet, CommandParameters parameters) throws ScmException
unedit in class AbstractScmProviderScmExceptionpublic String getScmSpecificFilename()
getScmSpecificFilename in interface ScmProvidergetScmSpecificFilename in class AbstractScmProviderCopyright © 2003–2022 The Apache Software Foundation. All rights reserved.