Examples of Hints


Examples of org.locationtech.geogig.repository.Hints

            if (cliCommand instanceof AbstractCommand && ((AbstractCommand) cliCommand).help) {
                ((AbstractCommand) cliCommand).printUsage(this);
                getConsole().flush();
                return;
            }
            Hints hints = gatherHints(cmdClass);
            this.hints = hints;

            if (cmdClass.isAnnotationPresent(RequiresRepository.class)
                    && cmdClass.getAnnotation(RequiresRepository.class).value()) {
                String workingDir;
View Full Code Here

Examples of org.locationtech.geogig.repository.Hints

            throw Throwables.propagate(e);
        }
    }

    private Hints gatherHints(Class<? extends CLICommand> cmdClass) {
        Hints hints = new Hints();

        checkAnnotationHint(cmdClass, ReadOnly.class, Hints.OBJECTS_READ_ONLY, hints);
        checkAnnotationHint(cmdClass, ReadOnly.class, Hints.STAGING_READ_ONLY, hints);

        checkAnnotationHint(cmdClass, ObjectDatabaseReadOnly.class, Hints.OBJECTS_READ_ONLY, hints);
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.