public interface P4Depot extends P4Connection, P4Errors
ACCESS_ERROR_MESSAGES, CORE_AUTH_FAIL_STRING_1, CORE_AUTH_FAIL_STRING_2, CORE_AUTH_FAIL_STRING_3, CORE_AUTH_FAIL_STRING_4, CORE_AUTH_FAIL_STRING_5, E_EMPTY, E_FAILED, E_FATAL, E_INFO, E_WARN
Modifier and Type | Method and Description |
---|---|
static P4Depot |
create(P4Connection conn) |
default DepotSpec |
load(java.lang.String name)
Calls "p4 depot -o", which is basically what you want to do as a first
step when creating or updating a depot.
|
default void |
save(DepotSpec depotSpec)
Calls "p4 depot -i" using the map contained by the depotSpec.
|
close, connectAs, create, create, disconnect, getLogin, getOptionsServer, getServerLocation, getServerProperties, setLogin
checkError, checkError, getServerMessage, isAuthFail, isNotSeriousErrorButNeedReport
static P4Depot create(P4Connection conn)
default DepotSpec load(java.lang.String name)
name
- The depot name (does not need to exist)default void save(DepotSpec depotSpec)
depotSpec
- The spec map to use. Should probably be obtained by
load(), not created directly