public class ClearCaseRepository extends Repository
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CMD_FALLBACK
The command to use to access the repository if none was given explicitly
|
static java.lang.String |
CMD_PROPERTY_KEY
The property name used to obtain the client command for this repository.
|
cmddatePattern, directoryName, remote, type, working| Constructor and Description |
|---|
ClearCaseRepository() |
| Modifier and Type | Method and Description |
|---|---|
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
|
boolean |
isWorking()
Returns true if this repository is usable in this context (for SCM
systems that use external binaries, the binary must be availabe etc)
|
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..
|
ensureCommand, getDateFormatgetDatePattern, getDirectoryName, getType, isRemote, setDatePattern, setDirectoryName, setRemote, setType, setWorkingpublic static final java.lang.String CMD_PROPERTY_KEY
public static final java.lang.String CMD_FALLBACK
public boolean isVerbose()
public void setVerbose(boolean verbose)
verbose - set to true if verbose messages should be usedpublic java.io.InputStream getHistoryGet(java.lang.String parent,
java.lang.String basename,
java.lang.String rev)
Repositoryparent - the name of the directory containing the filebasename - the name of the file to getrev - the revision to getpublic Annotation annotate(java.io.File file, java.lang.String revision) throws java.io.IOException
file - file to annotaterevision - revision to annotatejava.io.IOException - if an error occurspublic boolean fileHasAnnotation(java.io.File file)
Repositorytrue if annotation is supportedpublic void update()
throws java.io.IOException
Repositoryjava.io.IOExceptionpublic boolean fileHasHistory(java.io.File file)
public boolean isWorking()
RepositoryInfoisWorking in class RepositoryInfo