public class PerforceRepository extends Repository
datePattern, directoryName, remote, type, working| Constructor and Description |
|---|
PerforceRepository() |
| Modifier and Type | Method and Description |
|---|---|
Annotation |
annotate(java.io.File file,
java.lang.String rev)
Annotate the specified revision of a file.
|
boolean |
fileHasAnnotation(java.io.File file)
Checks whether this parser can annotate files.
|
static boolean |
isInP4Depot(java.io.File file)
Check if a given file is in the depot
|
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 |
update()
Update the content in this repository by pulling the changes from the
upstream repository..
|
getDateFormatgetDatePattern, getDirectoryName, getType, isRemote, setDatePattern, setDirectoryName, setRemote, setType, setWorkingpublic Annotation annotate(java.io.File file, java.lang.String rev) throws java.io.IOException
Repositoryfile - the file to annotaterev - revision of the fileAnnotation objectjava.io.IOException - if an error occurspublic void update()
throws java.io.IOException
Repositoryjava.io.IOExceptionpublic boolean fileHasAnnotation(java.io.File file)
Repositorytrue if annotation is supportedpublic static boolean isInP4Depot(java.io.File file)
file - The file to testpublic boolean isWorking()
RepositoryInfoisWorking in class RepositoryInfo