Package org.ametys.runtime.plugin
Class ExtensionDefinition
- java.lang.Object
-
- org.ametys.runtime.plugin.ExtensionDefinition
-
public class ExtensionDefinition extends Object
This class is a storage for an extension informations
-
-
Field Summary
Fields Modifier and Type Field Description private Configuration
_configuration
private String
_featureName
private String
_id
private String
_pluginName
private String
_point
-
Constructor Summary
Constructors Constructor Description ExtensionDefinition(String id, String point, String pluginName, String featureName, Configuration configuration)
Store elements about an extension
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Configuration
getConfiguration()
Returns the configurationString
getFeatureName()
Returns the feature nameString
getId()
Returns the extension id.String
getPluginName()
Returns the plugin nameString
getPoint()
Returns the extension point name.
-
-
-
Field Detail
-
_pluginName
private String _pluginName
-
_featureName
private String _featureName
-
_configuration
private Configuration _configuration
-
-
Constructor Detail
-
ExtensionDefinition
public ExtensionDefinition(String id, String point, String pluginName, String featureName, Configuration configuration)
Store elements about an extension- Parameters:
id
- the extension's id.point
- the extension point name.pluginName
- The name of the plugin declaring the extension.featureName
- The name of the feature declaring the extension.configuration
- The configuration of the extension.
-
-
Method Detail
-
getPoint
public String getPoint()
Returns the extension point name.- Returns:
- the extension point name.
-
getConfiguration
public Configuration getConfiguration()
Returns the configuration- Returns:
- the configuration
-
getFeatureName
public String getFeatureName()
Returns the feature name- Returns:
- the feature name
-
getPluginName
public String getPluginName()
Returns the plugin name- Returns:
- the plugin name
-
-