Package aQute.bnd.annotation.plugin
Interface InternalPluginDefinition
-
public interface InternalPluginDefinitionThis type represents a detected Internal Plugin as defined by theBndPluginannotation (andInternalPluginNamespacecapability.)
-
-
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 theBndPluginannotation is applied to.java.lang.StringgetName()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.StringgetTemplate()A template string for this plugin including all attributes the plugin supportsbooleanisHidden()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 theBndPluginannotation 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
-
-