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_configurationprivate String_featureNameprivate String_idprivate String_pluginNameprivate 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 ConfigurationgetConfiguration()Returns the configurationStringgetFeatureName()Returns the feature nameStringgetId()Returns the extension id.StringgetPluginName()Returns the plugin nameStringgetPoint()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
-
-