public class GraphReceivePackDelegator extends BaseDelegator implements IGraphReceivePackDelegator
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)
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION
Constructor and Description |
---|
GraphReceivePackDelegator(IOptionsServer server)
Instantiates a new graph commit log delegator.
|
Modifier and Type | Method and Description |
---|---|
void |
doGraphReceivePack(GraphReceivePackOptions options)
Invokes the receive-pack command on the sever.
|
public GraphReceivePackDelegator(IOptionsServer server)
server
- the serverpublic void doGraphReceivePack(GraphReceivePackOptions options) throws P4JavaException
doGraphReceivePack
in interface IGraphReceivePackDelegator
options
- optionsP4JavaException
- on error