Examples of ConfigScope


Examples of org.locationtech.geogig.api.porcelain.ConfigOp.ConfigScope

     * @throws ConfigException if an error is encountered. More specific information can be found in
     *         the exception's statusCode.
     */
    @Override
    protected  Optional<String> _call() {
        ConfigScope scope = global ? ConfigScope.GLOBAL : ConfigScope.LOCAL;
        Optional<Map<String, String>> result = command(ConfigOp.class)
                .setAction(ConfigAction.CONFIG_GET).setName(name).setScope(scope).call();
        if (result.isPresent()) {
            return Optional.of(result.get().get(name));
        } else {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.