Interface InternalPluginDefinition


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

    • getName

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

      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

      Optional<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

      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