Package org.ametys.runtime.plugin
Class Plugin
- java.lang.Object
-
- org.ametys.runtime.plugin.Plugin
-
-
Field Summary
Fields Modifier and Type Field Description private Map<String,ConfigParameterInfo>
_configParameters
private Configuration
_configuration
private Map<String,ExtensionPointDefinition>
_extensionPoints
private Map<String,Feature>
_features
private Map<String,ConfigParameterInfo>
_paramCheckers
private String
_pluginName
private String
_version
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
_configureConfigParameters(Configuration configConfiguration)
private void
_configureExtensionPoints()
private void
_configureFeatures()
private void
_configureParametersCheckers(Configuration configConfiguration)
(package private) void
configure(Configuration configuration)
(package private) Map<String,ConfigParameterInfo>
getConfigParameters()
(package private) Configuration
getConfiguration()
(package private) Map<String,ExtensionPointDefinition>
getExtensionPointDefinitions()
Collection<String>
getExtensionPoints()
Returns the ids of the extension points defined by this plugin.Map<String,Feature>
getFeatures()
Returns theFeature
s defined by this plugin.String
getName()
Returns this plugin's name.(package private) Map<String,ConfigParameterInfo>
getParameterCheckers()
String
getVersion()
Returns this plugin's version, or null if not specified.
-
-
-
Field Detail
-
_pluginName
private String _pluginName
-
_configuration
private Configuration _configuration
-
_configParameters
private Map<String,ConfigParameterInfo> _configParameters
-
_paramCheckers
private Map<String,ConfigParameterInfo> _paramCheckers
-
_extensionPoints
private Map<String,ExtensionPointDefinition> _extensionPoints
-
-
Method Detail
-
getVersion
public String getVersion()
Returns this plugin's version, or null if not specified.- Returns:
- this plugin's version.
-
getFeatures
public Map<String,Feature> getFeatures()
Returns theFeature
s defined by this plugin.- Returns:
- the
Feature
s defined by this plugin.
-
getExtensionPoints
public Collection<String> getExtensionPoints()
Returns the ids of the extension points defined by this plugin.- Returns:
- the ids of the extension points defined by this plugin.
-
getConfiguration
Configuration getConfiguration()
-
getExtensionPointDefinitions
Map<String,ExtensionPointDefinition> getExtensionPointDefinitions()
-
getConfigParameters
Map<String,ConfigParameterInfo> getConfigParameters()
-
getParameterCheckers
Map<String,ConfigParameterInfo> getParameterCheckers()
-
configure
void configure(Configuration configuration)
-
_configureConfigParameters
private void _configureConfigParameters(Configuration configConfiguration)
-
_configureParametersCheckers
private void _configureParametersCheckers(Configuration configConfiguration)
-
_configureFeatures
private void _configureFeatures()
-
_configureExtensionPoints
private void _configureExtensionPoints()
-
-