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

COVERAGE SUMMARY FOR SOURCE FILE [DriveData.java]

nameclass, %method, %block, %line, %
DriveData.java100% (2/2)100% (8/8)100% (63/63)100% (9/9)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class DriveData100% (1/1)100% (1/1)100% (9/9)100% (2/2)
DriveData (String, String, long, ClaimType, Iterable, Iterable): void 100% (1/1)100% (9/9)100% (2/2)
     
class DriveData$Builder100% (1/1)100% (7/7)100% (54/54)100% (7/7)
DriveData$Builder (): void 100% (1/1)100% (3/3)100% (1/1)
build (): DriveData 100% (1/1)100% (16/16)100% (1/1)
claimType (ClaimType): DriveData$Builder 100% (1/1)100% (7/7)100% (1/1)
name (String): DriveData$Builder 100% (1/1)100% (7/7)100% (1/1)
readers (Iterable): DriveData$Builder 100% (1/1)100% (7/7)100% (1/1)
size (long): DriveData$Builder 100% (1/1)100% (7/7)100% (1/1)
use (Iterable): DriveData$Builder 100% (1/1)100% (7/7)100% (1/1)

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.cloudsigma.domain;
20 
21import org.jclouds.javax.annotation.Nullable;
22 
23/**
24 * 
25 * @author Adrian Cole
26 */
27public class DriveData extends Drive {
28   public static class Builder extends Drive.Builder {
29 
30      /**
31       * {@inheritDoc}
32       */
33      @Override
34      public Builder claimType(ClaimType claimType) {
35         return Builder.class.cast(super.claimType(claimType));
36      }
37 
38      /**
39       * {@inheritDoc}
40       */
41      @Override
42      public Builder name(String name) {
43         return Builder.class.cast(super.name(name));
44      }
45 
46      /**
47       * {@inheritDoc}
48       */
49      @Override
50      public Builder readers(Iterable<String> readers) {
51         return Builder.class.cast(super.readers(readers));
52      }
53 
54      /**
55       * {@inheritDoc}
56       */
57      @Override
58      public Builder size(long size) {
59         return Builder.class.cast(super.size(size));
60      }
61 
62      /**
63       * {@inheritDoc}
64       */
65      @Override
66      public Builder use(Iterable<String> use) {
67         return Builder.class.cast(super.use(use));
68      }
69 
70      public DriveData build() {
71         return new DriveData(uuid, name, size, claimType, readers, use);
72      }
73   }
74 
75   public DriveData(@Nullable String uuid, String name, long size, @Nullable ClaimType claimType,
76         Iterable<String> readers, Iterable<String> use) {
77      super(uuid, name, size, claimType, readers, use);
78   }
79}

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