Package org.ametys.runtime.plugin
Class ComponentDefinition
- java.lang.Object
 - 
- org.ametys.runtime.plugin.ComponentDefinition
 
 
- 
public class ComponentDefinition 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_role 
- 
Constructor Summary
Constructors Constructor Description ComponentDefinition(String id, String role, String pluginName, String featureName, Configuration configuration)Store elements about a component. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationgetConfiguration()Returns the configurationStringgetFeatureName()Returns the feature nameStringgetId()Returns the component id.StringgetPluginName()Returns the plugin nameStringgetRole()Returns the component role. 
 - 
 
- 
- 
Field Detail
- 
_pluginName
private String _pluginName
 
- 
_featureName
private String _featureName
 
- 
_configuration
private Configuration _configuration
 
 - 
 
- 
Constructor Detail
- 
ComponentDefinition
public ComponentDefinition(String id, String role, String pluginName, String featureName, Configuration configuration)
Store elements about a component.- Parameters:
 id- the component's id.role- the component's role.pluginName- The name of the plugin declaring the component.featureName- The name of the feature declaring the component.configuration- The configuration of the component.
 
 - 
 
- 
Method Detail
- 
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
 
 
 - 
 
 -