Package org.locationtech.geogig.web.api.commands

Examples of org.locationtech.geogig.web.api.commands.Log$CommitWithChangeCounts


     *
     * @param options the parameter set
     * @return the built command
     */
    static Log buildLog(ParameterSet options) {
        Log command = new Log();
        command.setLimit(parseInt(options, "limit", null));
        command.setOffset(parseInt(options, "offset", null));
        command.setPaths(Arrays.asList(options.getValuesArray("path")));
        command.setSince(options.getFirstValue("since"));
        command.setUntil(options.getFirstValue("until"));
        command.setSinceTime(options.getFirstValue("sinceTime"));
        command.setUntilTime(options.getFirstValue("untilTime"));
        command.setPage(parseInt(options, "page", 0));
        command.setElementsPerPage(parseInt(options, "show", 30));
        command.setFirstParentOnly(Boolean.valueOf(options
                .getFirstValue("firstParentOnly", "false")));
        command.setCountChanges(Boolean.valueOf(options.getFirstValue("countChanges", "false")));
        command.setReturnRange(Boolean.valueOf(options.getFirstValue("returnRange", "false")));
        command.setSummary(Boolean.valueOf(options.getFirstValue("summary", "false")));
        return command;
    }
View Full Code Here

TOP

Related Classes of org.locationtech.geogig.web.api.commands.Log$CommitWithChangeCounts

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.