Class GraphReceivePackDelegator
java.lang.Object
com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
com.perforce.p4java.impl.mapbased.server.cmd.GraphReceivePackDelegator
- All Implemented Interfaces:
IGraphReceivePackDelegator
Delegator class that delegates receive-pack command execution to the server.
Usages: p4 graph receive-pack -n //graph/scm-plugin -F master=5631932f5cdf6c3b829911b6fe5ab42d436d74da (uses the force option) p4 graph receive-pack -n //graph/scm-plugin -i scm-api-plugin.git/objects/pack/pack-156db553fe00511509f8395aaeb0eed2f0871e9c.pack -r master=5631932f5cdf6c3b829911b6fe5ab42d436d74da (without the force option and having to provide -r)
-
Field Summary
Fields inherited from class com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new graph commit log delegator. -
Method Summary
Modifier and TypeMethodDescriptionvoidInvokes the receive-pack command on the sever.
-
Constructor Details
-
GraphReceivePackDelegator
Instantiates a new graph commit log delegator.- Parameters:
server- the server
-
-
Method Details
-
doGraphReceivePack
Invokes the receive-pack command on the sever.- Specified by:
doGraphReceivePackin interfaceIGraphReceivePackDelegator- Parameters:
options- options- Throws:
P4JavaException- on error
-