Package org.opengrok.indexer.history
Class MonotoneRepository
java.lang.Object
org.opengrok.indexer.history.RepositoryInfo
org.opengrok.indexer.history.Repository
org.opengrok.indexer.history.MonotoneRepository
- All Implemented Interfaces:
 Serializable
Access to a Monotone repository.
- Author:
 - Trond Norbye
 - See Also:
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe command to use to access the repository if none was given explicitly.static final StringThe property name used to obtain the client command for this repository.static final StringFields inherited from class org.opengrok.indexer.history.Repository
ignoredDirs, ignoredFiles, OUTPUT_DATE_FORMAT, RepoCommand, tagListFields inherited from class org.opengrok.indexer.history.RepositoryInfo
branch, currentVersion, datePatterns, parent, remote, type, working - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionAnnotate the specified file/revision using themnt annotatecommand.booleanfileHasAnnotation(File file) booleanfileHasHistory(File file) booleanReturns true if this repository is usable in this context (for SCM systems that use external binaries, the binary must be available etc).Methods inherited from class org.opengrok.indexer.history.Repository
buildTagList, determineBranch, determineCurrentVersion, determineParent, doCreateCache, ensureCommand, format, getCommand, getHistoryGet, getHistoryGet, getIgnoredDirs, getIgnoredFiles, getLastHistoryEntry, getRepoCommand, getRepoRelativePath, getRevisionForAnnotate, isRepositoryFor, parseMethods inherited from class org.opengrok.indexer.history.RepositoryInfo
equals, fillFromProject, getBranch, getCurrentVersion, getDatePatterns, getDirectoryName, getDirectoryNameRelative, getParent, getType, hashCode, isAnnotationCacheEnabled, isHandleRenamedFiles, isHistoryBasedReindex, isHistoryCacheEnabled, isHistoryEnabled, isMergeCommitsEnabled, isMergeCommitsSupported, isRemote, isTagsEnabled, setAnnotationCacheEnabled, setBranch, setCurrentVersion, setDatePatterns, setDirectoryName, setDirectoryNameRelative, setHandleRenamedFiles, setHistoryBasedReindex, setHistoryCacheEnabled, setHistoryEnabled, setMergeCommitsEnabled, setParent, setRemote, setTagsEnabled, setType, setWorking, toString 
- 
Field Details
- 
CMD_PROPERTY_KEY
The property name used to obtain the client command for this repository.- See Also:
 
 - 
CMD_FALLBACK
The command to use to access the repository if none was given explicitly.- See Also:
 
 - 
DEPRECATED_KEY
- See Also:
 
 
 - 
 - 
Constructor Details
- 
MonotoneRepository
public MonotoneRepository() 
 - 
 - 
Method Details
- 
annotate
Annotate the specified file/revision using themnt annotatecommand.- Parameters:
 file- file to annotaterevision- revision to annotate- Returns:
 - file annotation
 - Throws:
 IOException- if I/O exception occurred or the command failed
 - 
fileHasAnnotation
 - 
fileHasHistory
 - 
isWorking
public boolean isWorking()Description copied from class:RepositoryInfoReturns true if this repository is usable in this context (for SCM systems that use external binaries, the binary must be available etc).- Overrides:
 isWorkingin classRepositoryInfo- Returns:
 - true if the HistoryGuru may use the repository
 
 
 -