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 Details

    • 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 Details

    • getId

      public String getId()
      Returns the component id.
      Returns:
      the component id.
    • getRole

      public String getRole()
      Returns the component role.
      Returns:
      the component role.
    • getConfiguration

      Returns the configuration
      Returns:
      the configuration
    • getFeatureName

      Returns the feature name
      Returns:
      the feature name
    • getPluginName

      Returns the plugin name
      Returns:
      the plugin name