Debian Codegraph @

src/org/osgi/namespace/extender/ExtenderNamespace.java

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
•1 /*
2 * Copyright (c) OSGi Alliance (2012, 2014). All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 package org.osgi.namespace.extender;
18
19 import org.osgi.resource.Namespace;
20
21 /**
22 * Extender Capability and Requirement Namespace.
23 *
24 * <p>
25 * This class defines the names for the attributes and directives for this
26 * namespace. All unspecified capability attributes are of type {@code String}
27 * and are used as arbitrary matching attributes for the capability. The values
28 * associated with the specified directive and attribute keys are of type
29 * {@code String}, unless otherwise indicated.
30 *
31 * @Immutable
32 * @author $Id: 382b1f4aeae204895851c141f2f77d5723a7c3e7 $
33 */
34 public final class ExtenderNamespace extends Namespace {
35
36 /**
37 * Namespace name for extender capabilities and requirements.
38 *
39 * <p>
40 * Also, the capability attribute used to specify the name of the extender.
41 */
42 public static final String EXTENDER_NAMESPACE = "osgi.extender";
43
44 /**
45 * The capability attribute contains the {@code Version} of the
46 * specification of the extender. The value of this attribute must be of
47 * type {@code Version}.
48 */
49 public final static String CAPABILITY_VERSION_ATTRIBUTE = "version";
50
51 private ExtenderNamespace() {
52 // empty
53 }
54 }