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
_configuration
private String
_featureName
private String
_id
private String
_pluginName
private 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 Configuration
getConfiguration()
Returns the configurationString
getFeatureName()
Returns the feature nameString
getId()
Returns the component id.String
getPluginName()
Returns the plugin nameString
getRole()
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
-
-