org.apache.felix.bundlerepository.impl
Class CapabilityImpl
java.lang.Object
org.apache.felix.bundlerepository.impl.CapabilityImpl
- All Implemented Interfaces:
- Capability
public class CapabilityImpl
- extends Object
- implements Capability
CapabilityImpl
public CapabilityImpl()
CapabilityImpl
public CapabilityImpl(String name)
CapabilityImpl
public CapabilityImpl(String name,
PropertyImpl[] properties)
getName
public String getName()
- Description copied from interface:
Capability
- Return the name of the capability.
- Specified by:
getName in interface Capability
setName
public void setName(String name)
getPropertiesAsMap
public Map getPropertiesAsMap()
- Description copied from interface:
Capability
- Return the map of properties.
- Specified by:
getPropertiesAsMap in interface Capability
- Returns:
- a Map
getProperties
public Property[] getProperties()
- Description copied from interface:
Capability
- Return the properties of this capability
- Specified by:
getProperties in interface Capability
- Returns:
addProperty
public void addProperty(Property prop)
addProperty
public void addProperty(String name,
String value)
addProperty
public void addProperty(String name,
String type,
String value)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.