class ListJobsCommand extends AbstractCommand {

    @Override
    public void exec(OptionSet options, GlacierUploaderOptionParser optionParser) {
        log.info("Listing jobs...");

        final String vaultName = options.valueOf(optionParser.vault);
        final ListJobsRequest req = new ListJobsRequest(vaultName);
        final ListJobsResult jobOutputResult = client.listJobs(req);
        for (GlacierJobDescription job : jobOutputResult.getJobList()) {
            printer.printJob(job, out);
        }

        log.info("Done.");
    }

    public  ListJobsCommand(AmazonGlacier client, AmazonSQS sqs, AmazonSNS sns);
    public  ListJobsCommand(final AmazonGlacier client, final AmazonSQS sqs, final AmazonSNS sns, final JobPrinter printer);
    public  ListJobsCommand(final AmazonGlacier client, final AmazonSQS sqs, final AmazonSNS sns, final JobPrinter printer, final OutputStream out);

}