Class AbstractComponentExtensionPoint.ExtensionConfiguration
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractComponentExtensionPoint.ExtensionConfiguration
-
- Enclosing class:
- AbstractComponentExtensionPoint<T>
protected class AbstractComponentExtensionPoint.ExtensionConfiguration extends Object
This class is a storage for an extension informations
-
-
Field Summary
Fields Modifier and Type Field Description private Configuration
_configuration
private Class<T>
_extensionClass
private String
_featureName
private String
_pluginName
-
Constructor Summary
Constructors Modifier Constructor Description protected
ExtensionConfiguration(String pluginName, String featureName, Configuration configuration, Class<T> extensionClass)
Store elements about an extension
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Configuration
getConfiguration()
Returns the configurationClass<T>
getExtensionClass()
Returns the extension classString
getFeatureName()
Returns the feature nameString
getPluginName()
Returns the plugin name
-
-
-
Field Detail
-
_pluginName
private String _pluginName
-
_featureName
private String _featureName
-
_configuration
private Configuration _configuration
-
_extensionClass
private Class<T> _extensionClass
-
-
Constructor Detail
-
ExtensionConfiguration
protected ExtensionConfiguration(String pluginName, String featureName, Configuration configuration, Class<T> extensionClass)
Store elements about an extension- Parameters:
pluginName
- The name of the plugin declaring the extensionfeatureName
- The name of the feature declaring the extensionconfiguration
- The configuration declaring the extensionextensionClass
- The class of the extension
-
-
Method Detail
-
getExtensionClass
public Class<T> getExtensionClass()
Returns the extension class- Returns:
- the extension class
-
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
-
-