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

COVERAGE SUMMARY FOR SOURCE FILE [CaptureVAppOptions.java]

nameclass, %method, %block, %line, %
CaptureVAppOptions.java50%  (1/2)60%  (3/5)58%  (15/26)69%  (5.5/8)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class CaptureVAppOptions$Builder0%   (0/1)0%   (0/2)0%   (0/11)0%   (0/3)
CaptureVAppOptions$Builder (): void 0%   (0/1)0%   (0/3)0%   (0/1)
withDescription (String): CaptureVAppOptions 0%   (0/1)0%   (0/8)0%   (0/2)
     
class CaptureVAppOptions100% (1/1)100% (3/3)100% (15/15)100% (6/6)
CaptureVAppOptions (): void 100% (1/1)100% (3/3)100% (2/2)
getDescription (): String 100% (1/1)100% (3/3)100% (1/1)
withDescription (String): CaptureVAppOptions 100% (1/1)100% (9/9)100% (3/3)

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.vcloud.options;
20 
21import static com.google.common.base.Preconditions.*;
22 
23/**
24 * 
25 * @author Adrian Cole
26 * 
27 */
28public class CaptureVAppOptions {
29 
30   private String description;
31 
32   public CaptureVAppOptions withDescription(String description) {
33      checkNotNull(description, "description");
34      this.description = description;
35      return this;
36   }
37 
38   public String getDescription() {
39      return description;
40   }
41 
42   public static class Builder {
43 
44      /**
45       * @see CaptureVAppOptions#withDescription(String)
46       */
47      public static CaptureVAppOptions withDescription(String description) {
48         CaptureVAppOptions options = new CaptureVAppOptions();
49         return options.withDescription(description);
50      }
51   }
52 
53}

[all classes][org.jclouds.vcloud.options]
EMMA 2.0.5312 (C) Vladimir Roubtsov