Package com.emc.storageos.model

Examples of com.emc.storageos.model.TaskResourceRep


     *
     * @param create Create parameters.
     * @return Task for monitoring progress of the operation.
     */
    public Task<DataStoreRestRep> createOnNfsExport(FileSystemsDataStoreParam create) {
        TaskResourceRep task = client.post(TaskResourceRep.class, create, DATA_STORES_URL + NFSEXPORT_PATH);
        return new Task<DataStoreRestRep>(client, task, DataStoreRestRep.class);
    }
View Full Code Here


     *
     * @param create Create parameters.
     * @return Task for monitoring progress of the operation.
     */
    public Task<ObjectIngestionRestRep> create(ObjectIngestionCreateParam create) {
        TaskResourceRep task = client.post(TaskResourceRep.class, create, OBJECT_INGESTION_URL);
        return new Task<ObjectIngestionRestRep>(client, task, ObjectIngestionRestRep.class);
    }
View Full Code Here

     *
     * @param id the ID of the ingestion task to deactivate.
     * @return a task for monitoring the progress of the operation.
     */
    public Task<ObjectIngestionRestRep> deactivate(URI id) {
        TaskResourceRep task = client.post(TaskResourceRep.class, OBJECT_INGESTION_URL + ID_PATH + DEACTIVATE_PATH, id);
        return new Task<ObjectIngestionRestRep>(client, task, ObjectIngestionRestRep.class);
    }
View Full Code Here

     * @param id
     *        the ID of the data store to deactivate.
     * @return a task for monitoring the progress of the operation.
     */
    public Task<DataStoreRestRep> deactivate(URI id) {
        TaskResourceRep task = client.post(TaskResourceRep.class, DATA_STORES_URL + ID_PATH + DEACTIVATE_PATH, id);
        return new Task<DataStoreRestRep>(client, task, DataStoreRestRep.class);
    }
View Full Code Here

     *
     * @param create Create parameters.
     * @return Task for monitoring progress of the operation.
     */
    public Task<DataStoreRestRep> createOnFileSystem(FileSystemsDataStoreParam create) {
        TaskResourceRep task = client.post(TaskResourceRep.class, create, DATA_STORES_URL + FILESYSTEMS_PATH);
        return new Task<DataStoreRestRep>(client, task, DataStoreRestRep.class);
    }
View Full Code Here

     *
     * @param create Create parameters.
     * @return Task for monitoring progress of the operation.
     */
    public Task<DataStoreRestRep> createOnNfsExport(FileSystemsDataStoreParam create) {
        TaskResourceRep task = client.post(TaskResourceRep.class, create, DATA_STORES_URL + NFSEXPORT_PATH);
        return new Task<DataStoreRestRep>(client, task, DataStoreRestRep.class);
    }
View Full Code Here

     *
     * @param param Parameter to registion.
     * @return a task for monitoring the progress of this operation.
     */
    public Task<AtmosDeviceRestRep> register(AtmosDeviceParam param) {
        TaskResourceRep task = client.post(TaskResourceRep.class, param, ATMOS_IMPORTER_URL);
        return new Task<AtmosDeviceRestRep>(client, task, AtmosDeviceRestRep.class);
    }
View Full Code Here

     * @param taskId
     *        the ID of the task to retrieve.
     * @return the task.
     */
    protected Task<T> doGetTask(URI id, URI taskId) {
        TaskResourceRep response = client.get(TaskResourceRep.class, getIdUrl() + "/tasks/{taskId}", id, taskId);
        return new Task<T>(client, response, resourceClass);
    }
View Full Code Here

     * @param args
     *        the path arguments.
     * @return the task object.
     */
    protected Task<T> postTask(String path, Object... args) {
        TaskResourceRep task = client.post(TaskResourceRep.class, path, args);
        return new Task<T>(client, task, resourceClass);
    }
View Full Code Here

     * @param args
     *        the path arguments.
     * @return the task object.
     */
    protected Task<T> postTask(Object request, String path, Object... args) {
        TaskResourceRep task = client.post(TaskResourceRep.class, request, path, args);
        return new Task<T>(client, task, resourceClass);
    }
View Full Code Here

TOP

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

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.