EMMA Coverage Report (generated Wed Aug 10 12:30:04 EDT 2011)
[all classes][org.jclouds.ninefold.storage]

COVERAGE SUMMARY FOR SOURCE FILE [NinefoldStoragePropertiesBuilder.java]

nameclass, %method, %block, %line, %
NinefoldStoragePropertiesBuilder.java100% (1/1)67%  (2/3)89%  (24/27)78%  (7/9)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class NinefoldStoragePropertiesBuilder100% (1/1)67%  (2/3)89%  (24/27)78%  (7/9)
NinefoldStoragePropertiesBuilder (): void 0%   (0/1)0%   (0/3)0%   (0/2)
NinefoldStoragePropertiesBuilder (Properties): void 100% (1/1)100% (4/4)100% (2/2)
defaultProperties (): Properties 100% (1/1)100% (20/20)100% (5/5)

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 */
19 
20package org.jclouds.ninefold.storage;
21 
22import static org.jclouds.Constants.PROPERTY_API_VERSION;
23import static org.jclouds.Constants.PROPERTY_ENDPOINT;
24import static org.jclouds.Constants.PROPERTY_ISO3166_CODES;
25 
26import java.util.Properties;
27 
28import org.jclouds.PropertiesBuilder;
29 
30/**
31 * Builds properties used in Ninefold Storage
32 * 
33 * @author Adrian Cole
34 */
35public class NinefoldStoragePropertiesBuilder extends PropertiesBuilder {
36 
37   @Override
38   protected Properties defaultProperties() {
39      Properties properties = super.defaultProperties();
40      properties.setProperty(PROPERTY_ENDPOINT, "http://onlinestorage.ninefold.com");
41      properties.setProperty(PROPERTY_ISO3166_CODES, "AU-NSW");
42      properties.setProperty(PROPERTY_API_VERSION, "1.4.0");
43      return properties;
44   }
45 
46   public NinefoldStoragePropertiesBuilder() {
47      super();
48   }
49 
50   public NinefoldStoragePropertiesBuilder(Properties properties) {
51      super(properties);
52   }
53 
54}

[all classes][org.jclouds.ninefold.storage]
EMMA 2.0.5312 (C) Vladimir Roubtsov