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
public class GraphReceivePackDelegator extends BaseDelegator implements 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
Constructors Constructor Description GraphReceivePackDelegator(IOptionsServer server)
Instantiates a new graph commit log delegator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doGraphReceivePack(GraphReceivePackOptions options)
Invokes the receive-pack command on the sever.
-
-
-
Constructor Detail
-
GraphReceivePackDelegator
public GraphReceivePackDelegator(IOptionsServer server)
Instantiates a new graph commit log delegator.- Parameters:
server
- the server
-
-
Method Detail
-
doGraphReceivePack
public void doGraphReceivePack(GraphReceivePackOptions options) throws P4JavaException
Invokes the receive-pack command on the sever.- Specified by:
doGraphReceivePack
in interfaceIGraphReceivePackDelegator
- Parameters:
options
- options- Throws:
P4JavaException
- on error
-
-