EMMA Coverage Report (generated Wed Aug 10 12:30:04 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 *
3 * Copyright (C) 2011 Cloud Conscious, LLC. <info@cloudconscious.com>
4 *
5 * ====================================================================
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * 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, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 * ====================================================================
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