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

Examples of org.locationtech.geogig.web.api.commands.RemoteWebOp


     *
     * @param options the parameter set
     * @return the built command
     */
    static RemoteWebOp buildRemote(ParameterSet options) {
        RemoteWebOp command = new RemoteWebOp();
        command.setList(Boolean.valueOf(options.getFirstValue("list", "false")));
        command.setRemove(Boolean.valueOf(options.getFirstValue("remove", "false")));
        command.setPing(Boolean.valueOf(options.getFirstValue("ping", "false")));
        command.setUpdate(Boolean.valueOf(options.getFirstValue("update", "false")));
        command.setVerbose(Boolean.valueOf(options.getFirstValue("verbose", "false")));
        command.setRemoteName(options.getFirstValue("remoteName", null));
        command.setNewName(options.getFirstValue("newName", null));
        command.setRemoteURL(options.getFirstValue("remoteURL", null));
        command.setUserName(options.getFirstValue("username", null));
        command.setPassword(options.getFirstValue("password", null));
        return command;
    }
View Full Code Here

TOP

Related Classes of org.locationtech.geogig.web.api.commands.RemoteWebOp

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.