Package org.opengrok.indexer.history
Class PerforceRepository
java.lang.Object
org.opengrok.indexer.history.RepositoryInfo
org.opengrok.indexer.history.Repository
org.opengrok.indexer.history.PerforceRepository
- All Implemented Interfaces:
Serializable
Access to a Perforce repository.
- Author:
- Emilio Monti - emilmont@gmail.com
- 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.Fields 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 TypeMethodDescriptionbooleanfileHasAnnotation(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:
-
-
Constructor Details
-
PerforceRepository
public PerforceRepository()
-
-
Method Details
-
annotate
-
fileHasAnnotation
-
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
-