Interface InternalPluginDefinition


  • public interface InternalPluginDefinition
    This type represents a detected Internal Plugin as defined by the BndPlugin annotation (and InternalPluginNamespace capability.)
    • Method Detail

      • getName

        java.lang.String getName()
        The short name of the plugin as set with the BndPlugin.name()
        Returns:
        the name
      • getImplementation

        java.lang.Class<?> getImplementation()
        The implementation type of the plugin as set with the type that the BndPlugin annotation is applied to.
        Returns:
        the implementation class
      • getParameters

        java.util.Optional<java.lang.Class<?>> getParameters()
        The configuration type of the plugin as set with BndPlugin.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