Added missing job result types to map

This commit is contained in:
Andrei Savu 2012-03-14 14:26:50 +02:00
parent b9dc387ab4
commit 525506930f
1 changed files with 6 additions and 1 deletions

View File

@ -39,10 +39,12 @@ import org.jclouds.cloudstack.domain.Network;
import org.jclouds.cloudstack.domain.PortForwardingRule;
import org.jclouds.cloudstack.domain.PublicIPAddress;
import org.jclouds.cloudstack.domain.SecurityGroup;
import org.jclouds.cloudstack.domain.Snapshot;
import org.jclouds.cloudstack.domain.Template;
import org.jclouds.cloudstack.domain.TemplateExtraction;
import org.jclouds.cloudstack.domain.User;
import org.jclouds.cloudstack.domain.VirtualMachine;
import org.jclouds.cloudstack.domain.Volume;
import org.jclouds.domain.JsonBall;
import org.jclouds.json.Json;
import org.jclouds.logging.Logger;
@ -73,7 +75,10 @@ public class ParseTypedAsyncJob implements Function<AsyncJob<Map<String, JsonBal
.put("network", Network.class)
.put("ipaddress", PublicIPAddress.class)
.put("virtualmachine", VirtualMachine.class)
.put("loadbalancer", LoadBalancerRule.class).build();
.put("loadbalancer", LoadBalancerRule.class)
.put("snapshot", Snapshot.class)
.put("template", Template.class)
.put("volume", Volume.class).build();
private final Json json;
@Inject