Package org.locationtech.geogig.api.porcelain

Examples of org.locationtech.geogig.api.porcelain.FetchOp


     */
    @Override
    public void run(CommandContext context) {
        final Context geogig = this.getCommandLocator(context);

        FetchOp command = geogig.command(FetchOp.class);

        command.addRemote(remote);

        try {
            final TransferSummary result = command.setAll(fetchAll).setPrune(prune).call();
            context.setResponseContent(new CommandResponse() {
                @Override
                public void write(ResponseWriter out) throws Exception {
                    out.start();
                    out.writeFetchResponse(result);
View Full Code Here

TOP

Related Classes of org.locationtech.geogig.api.porcelain.FetchOp

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.