EMMA Coverage Report (generated Fri Aug 26 14:14:05 EDT 2011)
[all classes][org.jclouds.synaptic.storage]

COVERAGE SUMMARY FOR SOURCE FILE [SynapticStorageProviderMetadata.java]

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

COVERAGE BREAKDOWN BY CLASS AND METHOD

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

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