public interface IPacketExtensionRegistry
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAllSubTypes(String type)
Returns all types that extend the specified packet type.
|
String |
getAnnotationTypeName(String annotationType)
Returns a user-facing string that describes the annotation type.
|
Set<String> |
getAnnotationTypes()
Returns all the annotation types registered on the platform.
|
org.osgi.framework.Bundle |
getDeclaringBundle(String packetType)
Returns the bundle that declares a packet type.
|
Set<String> |
getDirectSubTypes(String type)
Returns all types that directly extend the specified packet type.
|
String |
getPacketTypeName(String packetType)
Returns a user-facing string that describes the packet type.
|
Set<String> |
getPacketTypes()
Returns all the packet types registered on the platform.
|
String |
getSuperType(String packetType)
Returns the packet type that a given packet type extends, if any.
|
boolean |
isExtending(String subType,
String superType)
Returns whether a given packet type extends, directly or indirectly, another packet type.
|
String |
resolvePacketAlias(String packetType)
If a packet type was renamed, returns the new ID of the packet type corresponding
to the legacy ID.
|
org.osgi.framework.Bundle getDeclaringBundle(String packetType)
packetType
- A recorder packet type.null
if the
packet type is unknown.String getPacketTypeName(String packetType)
packetType
- A recorder packet type.String getSuperType(String packetType)
packetType
- A recorder packet type.null
if the packet type does not extend
any type.boolean isExtending(String subType, String superType)
subType
- A recorder packet type.superType
- A recorder packet type.subType
is or extends superType
.String getAnnotationTypeName(String annotationType)
packetType
- A recorder annotation type.Set<String> getPacketTypes()
Set<String> getDirectSubTypes(String type)
type
- Set<String> getAllSubTypes(String type)
type
- String resolvePacketAlias(String packetType)
packetType
- A legacy ID.© Copyright IBM Corp. 2013. All rights reserved.