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

COVERAGE SUMMARY FOR SOURCE FILE [FilesystemBlobStorePropertiesBuilder.java]

nameclass, %method, %block, %line, %
FilesystemBlobStorePropertiesBuilder.java100% (1/1)100% (2/2)100% (35/35)100% (9/9)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class FilesystemBlobStorePropertiesBuilder100% (1/1)100% (2/2)100% (35/35)100% (9/9)
FilesystemBlobStorePropertiesBuilder (Properties): void 100% (1/1)100% (4/4)100% (2/2)
defaultProperties (): Properties 100% (1/1)100% (31/31)100% (7/7)

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 */
19/*
20 * To change this template, choose Tools | Templates
21 * and open the template in the editor.
22 */
23 
24package org.jclouds.filesystem;
25 
26import static org.jclouds.Constants.PROPERTY_API_VERSION;
27import static org.jclouds.Constants.PROPERTY_ENDPOINT;
28import static org.jclouds.Constants.PROPERTY_IO_WORKER_THREADS;
29import static org.jclouds.Constants.PROPERTY_IDENTITY;
30import static org.jclouds.Constants.PROPERTY_USER_THREADS;
31 
32import java.util.Properties;
33import org.jclouds.PropertiesBuilder;
34 
35/**
36 *
37 * @author rainbowbreeze
38 */
39public class FilesystemBlobStorePropertiesBuilder extends PropertiesBuilder {
40   @Override
41   protected Properties defaultProperties() {
42      Properties properties = super.defaultProperties();
43      properties.setProperty(PROPERTY_ENDPOINT, "http://localhost/transient");
44      properties.setProperty(PROPERTY_API_VERSION, "1");
45      properties.setProperty(PROPERTY_IDENTITY, System.getProperty("user.name"));
46      properties.setProperty(PROPERTY_USER_THREADS, "0");
47      properties.setProperty(PROPERTY_IO_WORKER_THREADS, "0");
48      return properties;
49   }
50 
51   public FilesystemBlobStorePropertiesBuilder(Properties properties) {
52      super(properties);
53   }
54 
55}

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