Top Description Methods
aQute.bnd.annotation.plugin

public Interface InternalPluginDefinition

Imports
java.util.Optional

This type represents a detected Internal Plugin as defined by the BndPlugin annotation (and InternalPluginNamespace capability.)

Method Summary

Modifier and TypeMethod and Description
public Class<?>

Returns:

the implementation class
getImplementation
()

The implementation type of the plugin as set with the type that the BndPlugin annotation is applied to.

public String

Returns:

the name
getName
()

The short name of the plugin as set with the BndPlugin#name()

public Optional<Class<?>>

Returns:

the configuration class
getParameters
()

The configuration type of the plugin as set with BndPlugin#parameters().

public String

Returns:

a template definition for this plugin
getTemplate
()

A template string for this plugin including all attributes the plugin supports

public boolean

Returns:

true if this plugin should be hidden
isHidden
()

If this plugin should be hidden

Method Detail

getImplementationback to summary
public Class<?> getImplementation()

The implementation type of the plugin as set with the type that the BndPlugin annotation is applied to.

Returns:Class<?>

the implementation class

getNameback to summary
public String getName()

The short name of the plugin as set with the BndPlugin#name()

Returns:String

the name

getParametersback to summary
public Optional<Class<?>> getParameters()

The configuration type of the plugin as set with BndPlugin#parameters(). The name is not configuration sadly due to baselining.

Returns:Optional<Class<?>>

the configuration class

getTemplateback to summary
public String getTemplate()

A template string for this plugin including all attributes the plugin supports

Returns:String

a template definition for this plugin

isHiddenback to summary
public boolean isHidden()

If this plugin should be hidden

Returns:boolean

true if this plugin should be hidden