org.jclouds.cloudstack.features
Interface AsyncJobApi


public interface AsyncJobApi

Provides synchronous access to cloudstack via their REST API.

See Also:

Method Summary
<T> AsyncJob<T>
getAsyncJob(String id)
          get a specific asyncJob by id
 Set<AsyncJob<?>> listAsyncJobs(ListAsyncJobsOptions... options)
          Lists asyncJobs
 

Method Detail

listAsyncJobs

@Named(value="listAsyncJobs")
Set<AsyncJob<?>> listAsyncJobs(ListAsyncJobsOptions... options)
Lists asyncJobs

Parameters:
options - if present, how to constrain the list.
Returns:
asyncJobs matching query, or empty set, if no asyncJobs are found

getAsyncJob

@Named(value="queryAsyncJobResult")
<T> AsyncJob<T> getAsyncJob(String id)
get a specific asyncJob by id

Parameters:
id - asyncJob to get
Returns:
asyncJob or null if not found


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.