Package aQute.bnd.annotation.plugin
Interface InternalPluginDefinition
-
public interface InternalPluginDefinition
This type represents a detected Internal Plugin as defined by theBndPlugin
annotation (andInternalPluginNamespace
capability.)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Class<?>
getImplementation()
The implementation type of the plugin as set with the type that theBndPlugin
annotation is applied to.java.lang.String
getName()
The short name of the plugin as set with theBndPlugin.name()
java.util.Optional<java.lang.Class<?>>
getParameters()
The configuration type of the plugin as set withBndPlugin.parameters()
.java.lang.String
getTemplate()
A template string for this plugin including all attributes the plugin supportsboolean
isHidden()
If this plugin should be hidden
-
-
-
Method Detail
-
getName
java.lang.String getName()
The short name of the plugin as set with theBndPlugin.name()
- Returns:
- the name
-
getImplementation
java.lang.Class<?> getImplementation()
The implementation type of the plugin as set with the type that theBndPlugin
annotation is applied to.- Returns:
- the implementation class
-
getParameters
java.util.Optional<java.lang.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
java.lang.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
-
-