|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.tek42.perforce.parse.AbstractPerforceTemplate
com.tek42.perforce.parse.Status
public class Status
Allows checking the status of the depot.
| Constructor Summary | |
|---|---|
Status(Depot depot)
|
|
| Method Summary | |
|---|---|
boolean |
exists(java.lang.String path)
Checks the specified path to see if it exists in the depot. |
boolean |
isValid()
Checks the environment to see if it is valid. |
| Methods inherited from class com.tek42.perforce.parse.AbstractPerforceTemplate |
|---|
getExtraParams, getLogger, getPerforceResponse, getRawPerforceResponseLines, hitMax, login, parseList, saveToPerforce |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Status(Depot depot)
| Method Detail |
|---|
public boolean isValid()
throws PerforceException
If the environment is valid, this method will return true. Otherwise, it will throw a
PerforceException with a message regarding the failure.
PerforceException
public boolean exists(java.lang.String path)
throws PerforceException
The path must end with the perforce wildcard: /... Otherwise it will return no results.
Note: this method may move once the API is more complete.
path - Path to check, example: //depot/MyProject/...
PerforceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||