EMMA Coverage Report (generated Mon Dec 09 15:12:29 EST 2013)
[all classes][org.jclouds.glesys.options]

COVERAGE SUMMARY FOR SOURCE FILE [AddRecordOptions.java]

nameclass, %method, %block, %line, %
AddRecordOptions.java50%  (1/2)50%  (2/4)52%  (12/23)58%  (3.5/6)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class AddRecordOptions$Builder0%   (0/1)0%   (0/2)0%   (0/11)0%   (0/3)
AddRecordOptions$Builder (): void 0%   (0/1)0%   (0/3)0%   (0/1)
ttl (int): AddRecordOptions 0%   (0/1)0%   (0/8)0%   (0/2)
     
class AddRecordOptions100% (1/1)100% (2/2)100% (12/12)100% (4/4)
AddRecordOptions (): void 100% (1/1)100% (3/3)100% (2/2)
ttl (int): AddRecordOptions 100% (1/1)100% (9/9)100% (2/2)

1/*
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements.  See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License.  You may obtain a copy of the License at
8 *
9 *     http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17package org.jclouds.glesys.options;
18 
19import org.jclouds.http.options.BaseHttpRequestOptions;
20 
21/**
22 * @author Adam Lowe
23 */
24public class AddRecordOptions extends BaseHttpRequestOptions {
25 
26   public static class Builder {
27      /**
28       * @see AddRecordOptions#ttl
29       */
30      public static AddRecordOptions ttl(int ttl) {
31         AddRecordOptions options = new AddRecordOptions();
32         return options.ttl(ttl);
33      }
34   }
35 
36   /** Configure TTL/Time-to-live for record */
37   public AddRecordOptions ttl(int ttl) {
38      formParameters.put("ttl", Integer.toString(ttl));
39      return this;
40   }
41}

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