Package org.locationtech.geogig.rest.AsyncContext

Examples of org.locationtech.geogig.rest.AsyncContext.Status


    }

    @Override
    protected void write(XMLStreamWriter w) throws XMLStreamException {
        final String taskId = cmd.getTaskId();
        final Status status = cmd.getStatus();
        final String description = cmd.getDescription();
        final Optional<UUID> transactionId = cmd.getTransactionId();
        checkNotNull(taskId);
        checkNotNull(status);
        w.writeStartElement("task");

        element(w, "id", taskId);
        element(w, "status", status.toString());
        if (transactionId.isPresent()) {
            element(w, "transactionId", transactionId.get().toString());
        }
        element(w, "description", description);
        String link = "tasks/" + taskId;// relative to baseURL (e.g. /geoserver/geogig)
View Full Code Here

TOP

Related Classes of org.locationtech.geogig.rest.AsyncContext.Status

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.