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
-
-
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.
-
-
-
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
-
-