|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.matthias_burbach.mosaique.core.util.P4
Is a simple interface to the SCM tool Perforce (short: P4).
| Constructor Summary | |
P4()
|
|
| Method Summary | |
int |
getSynchedRevision(java.lang.String file)
|
boolean |
isP4Controlled(java.lang.String file)
|
boolean |
isP4Installed()
|
boolean |
openForEdit(java.lang.String file)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public P4()
| Method Detail |
public boolean isP4Installed()
true if the Perforce command line can be accessed
by this class.public boolean isP4Controlled(java.lang.String file)
file - The file to check.
true if the file is under Perforce control
(also if only opened for add yet).public int getSynchedRevision(java.lang.String file)
file - The file to get the synched revision for.
public boolean openForEdit(java.lang.String file)
file - The file to check.
true if the file is now opened for edit.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||