Package aQute.bnd.service
Interface Plugin
-
- All Known Implementing Classes:
AnyEntryPlugin
,BasicAuthentication
,BearerAuthentication
,BndAuthentication
,BndProjectContentsPlugin
,BndWorkspaceContentsPlugin
,CodeSnippetPlugin
,CommonInfoPlugin
,CommonInfoProjectPlugin
,ComponentsPlugin
,ConnectionSettings
,DefaultURLConnectionHandler
,FileNamePlugin
,FileRepo
,HttpsVerification
,ImportJarResourcePlugin
,ImportResourcePlugin
,InfoFileRepo
,JartoolSigner
,ManifestPlugin
,MavenCoordinatePlugin
,MavenDeploy
,MavenGroup
,MavenRemoteRepository
,MavenRepository
,MetatypesPlugin
,Workspace.CachedFileRepo
public interface Plugin
An optional interface for plugins. If a plugin implements this interface then it can receive the reminaing attributes and directives given in its clause as well as the reporter to use.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setProperties(java.util.Map<java.lang.String,java.lang.String> map)
Give the plugin the remaining properties.void
setReporter(Reporter processor)
Set the current reporter.
-
-
-
Method Detail
-
setProperties
void setProperties(java.util.Map<java.lang.String,java.lang.String> map) throws java.lang.Exception
Give the plugin the remaining properties. When a plugin is declared, the clause can contain extra properties. All the properties and directives are given to the plugin to use.- Parameters:
map
- attributes and directives for this plugin's clause- Throws:
java.lang.Exception
-
setReporter
void setReporter(Reporter processor)
Set the current reporter. This is called at init time. This plugin should report all errors and warnings to this reporter.- Parameters:
processor
-
-
-