Package com.emc.storageos.model

Examples of com.emc.storageos.model.RestLinkRep


    // TODO: Should introduce an enum into task object
    public static final String PENDING_STATE = "pending";
    public static final String ERROR_STATE = "error";

    public static TaskResourceRep refresh(RestClient client, TaskResourceRep task) {
        RestLinkRep link = task.getRestLink();
        if (link == null) {
            throw new ViPRException("Task has no link");
        }
        return client.get(TaskResourceRep.class, link.getLinkRef().toString());
    }
View Full Code Here

TOP

Related Classes of com.emc.storageos.model.RestLinkRep

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.