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

COVERAGE SUMMARY FOR SOURCE FILE [DriveData.java]

nameclass, %method, %block, %line, %
DriveData.java100% (2/2)100% (9/9)100% (73/73)100% (10/10)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class DriveData100% (1/1)100% (1/1)100% (10/10)100% (2/2)
DriveData (String, String, long, ClaimType, Iterable, Iterable, Map): void 100% (1/1)100% (10/10)100% (2/2)
     
class DriveData$Builder100% (1/1)100% (8/8)100% (63/63)100% (8/8)
DriveData$Builder (): void 100% (1/1)100% (3/3)100% (1/1)
build (): DriveData 100% (1/1)100% (18/18)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)
tags (Iterable): DriveData$Builder 100% (1/1)100% (7/7)100% (1/1)
userMetadata (Map): 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.elasticstack.domain;
20 
21import java.util.Map;
22 
23import org.jclouds.javax.annotation.Nullable;
24 
25 
26/**
27 * 
28 * @author Adrian Cole
29 */
30public class DriveData extends Drive {
31   public static class Builder extends Drive.Builder {
32 
33      /**
34       * {@inheritDoc}
35       */
36      @Override
37      public Builder claimType(ClaimType claimType) {
38         return Builder.class.cast(super.claimType(claimType));
39      }
40 
41 
42      /**
43       * {@inheritDoc}
44       */
45      @Override
46      public Builder name(String name) {
47         return Builder.class.cast(super.name(name));
48      }
49 
50      /**
51       * {@inheritDoc}
52       */
53      @Override
54      public Builder readers(Iterable<String> readers) {
55         return Builder.class.cast(super.readers(readers));
56      }
57 
58      /**
59       * {@inheritDoc}
60       */
61      @Override
62      public Builder size(long size) {
63         return Builder.class.cast(super.size(size));
64      }
65 
66      /**
67       * {@inheritDoc}
68       */
69      @Override
70      public Builder tags(Iterable<String> tags) {
71         return Builder.class.cast(super.tags(tags));
72      }
73 
74      /**
75       * {@inheritDoc}
76       */
77      @Override
78      public Builder userMetadata(Map<String, String> userMetadata) {
79         return Builder.class.cast(super.userMetadata(userMetadata));
80      }
81 
82      public DriveData build() {
83         return new DriveData(uuid, name, size, claimType, readers, tags, userMetadata);
84      }
85   }
86 
87   public DriveData(@Nullable String uuid, String name, long size, @Nullable ClaimType claimType, Iterable<String> readers,
88         Iterable<String> tags, Map<String, String> userMetadata) {
89      super(uuid, name, size, claimType, readers, tags, userMetadata);
90   }
91}

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