EMMA Coverage Report (generated Mon Oct 17 05:41:20 EDT 2011)
[all classes][org.jclouds.rimuhosting.miro.domain]

COVERAGE SUMMARY FOR SOURCE FILE [NewServerResponse.java]

nameclass, %method, %block, %line, %
NewServerResponse.java0%   (0/1)0%   (0/8)0%   (0/32)0%   (0/11)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class NewServerResponse0%   (0/1)0%   (0/8)0%   (0/32)0%   (0/11)
NewServerResponse (): void 0%   (0/1)0%   (0/3)0%   (0/1)
compareTo (NewServerResponse): int 0%   (0/1)0%   (0/8)0%   (0/1)
getNewInstanceRequest (): NewServerData 0%   (0/1)0%   (0/3)0%   (0/1)
getServer (): Server 0%   (0/1)0%   (0/3)0%   (0/1)
getServerInfo (): ServerInfo 0%   (0/1)0%   (0/3)0%   (0/1)
setNewInstanceRequest (NewServerData): void 0%   (0/1)0%   (0/4)0%   (0/2)
setServer (Server): void 0%   (0/1)0%   (0/4)0%   (0/2)
setServerInfo (ServerInfo): void 0%   (0/1)0%   (0/4)0%   (0/2)

1/**
2 * Licensed to jclouds, Inc. (jclouds) under one or more
3 * contributor license agreements.  See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership.  jclouds licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License.  You may obtain a copy of the License at
9 *
10 *   http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied.  See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19package org.jclouds.rimuhosting.miro.domain;
20 
21import com.google.gson.annotations.SerializedName;
22import org.jclouds.rimuhosting.miro.data.NewServerData;
23 
24/**
25 * Wrapper object to get back all data from a Instance create. The Password has been populated the NewInstance
26 * object.
27 *
28 * @author Ivan Meredith
29 */
30public class NewServerResponse implements Comparable<NewServerResponse> {
31   @SerializedName("about_order")
32   private Server server;
33 
34   @SerializedName("new_order_request")
35   private NewServerData newServerDataRequest;
36 
37   @SerializedName("running_vps_info")
38   private ServerInfo serverInfo;
39 
40   public Server getServer() {
41      return server;
42   }
43 
44   public void setServer(Server server) {
45      this.server = server;
46   }
47 
48   public NewServerData getNewInstanceRequest() {
49      return newServerDataRequest;
50   }
51 
52   public void setNewInstanceRequest(NewServerData newServerDataRequest) {
53      this.newServerDataRequest = newServerDataRequest;
54   }
55 
56   public ServerInfo getServerInfo() {
57      return serverInfo;
58   }
59 
60   public void setServerInfo(ServerInfo serverInfo) {
61      this.serverInfo = serverInfo;
62   }
63 
64   @Override
65   public int compareTo(NewServerResponse server) {
66      return this.server.getId().compareTo(server.getServer().getId());
67   }
68}

[all classes][org.jclouds.rimuhosting.miro.domain]
EMMA 2.0.5312 (C) Vladimir Roubtsov