List of usage examples for com.amazonaws.services.glacier.model ListJobsResult getJobList
public java.util.List<GlacierJobDescription> getJobList()
A list of job objects.
From source file:com.vrane.metaGlacier.Vault.java
/** * Gets a list of jobs attached to this vault. * * @return a list of <code>GlacierJobDescription</code> *///from w w w. ja v a 2 s. c om public List<GlacierJobDescription> listJobs() { final ListJobsRequest ljr = new ListJobsRequest(); final ListJobsResult ljres = GlacierFrame.getClient(region) .listJobs(ljr.withVaultName(name).withCompleted("true")); return ljres.getJobList(); }