Package org.locationtech.geogig.api

Examples of org.locationtech.geogig.api.RevObject


    public void run(CommandContext context) {
        Preconditions.checkArgument(object != null && !object.equals(ObjectId.NULL));
        final Context geogig = this.getCommandLocator(context);

        Preconditions.checkState(geogig.stagingDatabase().exists(object));
        final RevObject revObject = geogig.stagingDatabase().get(object);
        switch (revObject.getType()) {
        case COMMIT:
            context.setResponseContent(new CommandResponse() {
                @Override
                public void write(ResponseWriter out) throws Exception {
                    out.start();
View Full Code Here

TOP

Related Classes of org.locationtech.geogig.api.RevObject

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.