Package aQute.bnd.annotation.plugin
Interface InternalPluginDefinition
public interface InternalPluginDefinition
This type represents a detected Internal Plugin as defined by the
BndPlugin
annotation (and InternalPluginNamespace
capability.)-
Method Summary
Modifier and TypeMethodDescriptionClass<?>
The implementation type of the plugin as set with the type that theBndPlugin
annotation is applied to.getName()
The short name of the plugin as set with theBndPlugin.name()
The configuration type of the plugin as set withBndPlugin.parameters()
.A template string for this plugin including all attributes the plugin supportsboolean
isHidden()
If this plugin should be hidden
-
Method Details
-
getName
String getName()The short name of the plugin as set with theBndPlugin.name()
- Returns:
- the name
-
getImplementation
Class<?> getImplementation()The implementation type of the plugin as set with the type that theBndPlugin
annotation is applied to.- Returns:
- the implementation class
-
getParameters
The configuration type of the plugin as set withBndPlugin.parameters()
. The name is not configuration sadly due to baselining.- Returns:
- the configuration class
-
getTemplate
String getTemplate()A template string for this plugin including all attributes the plugin supports- Returns:
- a template definition for this plugin
-
isHidden
boolean isHidden()If this plugin should be hidden- Returns:
- true if this plugin should be hidden
-