|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensolaris.opengrok.history.RepositoryInfo
org.opensolaris.opengrok.history.Repository
org.opensolaris.opengrok.history.ClearCaseRepository
public class ClearCaseRepository
Access to a ClearCase repository.
| Field Summary |
|---|
| Fields inherited from class org.opensolaris.opengrok.history.RepositoryInfo |
|---|
datePattern, directoryName, remote, type, working |
| Constructor Summary | |
|---|---|
ClearCaseRepository()
|
|
| Method Summary | |
|---|---|
Annotation |
annotate(java.io.File file,
java.lang.String revision)
Annotate the specified file/revision. |
boolean |
fileHasAnnotation(java.io.File file)
Checks whether this parser can annotate files. |
boolean |
fileHasHistory(java.io.File file)
|
java.io.InputStream |
getHistoryGet(java.lang.String parent,
java.lang.String basename,
java.lang.String rev)
Get an input stream that I may use to read a speciffic version of a named file. |
boolean |
isVerbose()
Use verbose log messages, or just the summary |
void |
setVerbose(boolean verbose)
Specify if verbose log messages or just the summary should be used |
void |
update()
Update the content in this repository by pulling the changes from the upstream repository.. |
| Methods inherited from class org.opensolaris.opengrok.history.Repository |
|---|
getDateFormat |
| Methods inherited from class org.opensolaris.opengrok.history.RepositoryInfo |
|---|
getDatePattern, getDirectoryName, getType, isRemote, isWorking, setDatePattern, setDirectoryName, setRemote, setType, setWorking |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClearCaseRepository()
| Method Detail |
|---|
public boolean isVerbose()
public void setVerbose(boolean verbose)
verbose - set to true if verbose messages should be used
public java.io.InputStream getHistoryGet(java.lang.String parent,
java.lang.String basename,
java.lang.String rev)
Repository
parent - the name of the directory containing the filebasename - the name of the file to getrev - the revision to get
public Annotation annotate(java.io.File file,
java.lang.String revision)
throws java.io.IOException
file - file to annotaterevision - revision to annotate
java.io.IOException - if an error occurspublic boolean fileHasAnnotation(java.io.File file)
Repository
true if annotation is supported
public void update()
throws java.io.IOException
Repository
java.io.IOExceptionpublic boolean fileHasHistory(java.io.File file)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||