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

COVERAGE SUMMARY FOR SOURCE FILE [CloudOneStorageProviderMetadata.java]

nameclass, %method, %block, %line, %
CloudOneStorageProviderMetadata.java100% (1/1)100% (10/10)100% (26/26)100% (10/10)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class CloudOneStorageProviderMetadata100% (1/1)100% (10/10)100% (26/26)100% (10/10)
CloudOneStorageProviderMetadata (): void 100% (1/1)100% (3/3)100% (1/1)
getApiDocumentation (): URI 100% (1/1)100% (3/3)100% (1/1)
getConsole (): URI 100% (1/1)100% (3/3)100% (1/1)
getCredentialName (): String 100% (1/1)100% (2/2)100% (1/1)
getHomepage (): URI 100% (1/1)100% (3/3)100% (1/1)
getId (): String 100% (1/1)100% (2/2)100% (1/1)
getIdentityName (): String 100% (1/1)100% (2/2)100% (1/1)
getIso3166Codes (): Set 100% (1/1)100% (4/4)100% (1/1)
getName (): String 100% (1/1)100% (2/2)100% (1/1)
getType (): String 100% (1/1)100% (2/2)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.cloudonestorage;
20 
21import com.google.common.collect.ImmutableSet;
22 
23import java.net.URI;
24import java.util.Set;
25 
26import org.jclouds.providers.BaseProviderMetadata;
27 
28/**
29 * Implementation of {@ link org.jclouds.types.ProviderMetadata} for PEER1's
30 * CloudOne Storage provider.
31 *
32 * @author Jeremy Whitlock <jwhitlock@apache.org>
33 */
34public class CloudOneStorageProviderMetadata extends BaseProviderMetadata {
35 
36   /**
37    * {@inheritDoc}
38    */
39   @Override
40   public String getId() {
41      return "cloudonestorage";
42   }
43 
44   /**
45    * {@inheritDoc}
46    */
47   @Override
48   public String getType() {
49      return BLOBSTORE_TYPE;
50   }
51 
52   /**
53    * {@inheritDoc}
54    */
55   @Override
56   public String getName() {
57      return "PEER1 CloudOne Storage";
58   }
59 
60   /**
61    * {@inheritDoc}
62    */
63   @Override
64   public String getIdentityName() {
65      return "Subtenant ID (UID)";
66   }
67 
68   /**
69    * {@inheritDoc}
70    */
71   @Override
72   public String getCredentialName() {
73      return "Shared Secret";
74   }
75 
76   /**
77    * {@inheritDoc}
78    */
79   @Override
80   public URI getHomepage() {
81      return URI.create("http://www.peer1.com/hosting/cloudone-storage.php");
82   }
83 
84   /**
85    * {@inheritDoc}
86    */
87   @Override
88   public URI getConsole() {
89      return URI.create("https://mypeer1.com/");
90   }
91 
92   /**
93    * {@inheritDoc}
94    */
95   @Override
96   public URI getApiDocumentation() {
97      return URI.create("http://www.peer1.com/sites/default/files/pdf/Atmos_System_Management_API_Guide_1.3.0A.pdf");
98   }
99 
100   /**
101    * {@inheritDoc}
102    */
103   @Override
104   public Set<String> getIso3166Codes() {
105      return ImmutableSet.of("US-GA", "US-TX");
106   }
107 
108}

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