Class Feature


  • public class Feature
    extends Object
    A plugin is composed by features, containing components definitions and extensions.
    • Method Detail

      • getPluginName

        public String getPluginName()
        Returns the declaring plugin name
        Returns:
        the declaring plugin name
      • getFeatureName

        public String getFeatureName()
        Returns this feature name
        Returns:
        this feature name
      • getFeatureId

        public String getFeatureId()
        Returns the feature id, ie. getPluginName() + '/' + getFeatureName()
        Returns:
        the feature id.
      • isPassive

        public boolean isPassive()
        Returns true if this feature is passive.
        Returns:
        true if this feature is passive.
      • isSafe

        public boolean isSafe()
        Returns true if this feature is declared as safe.
        Returns:
        true if this feature is declared as safe.
      • getExtensionsIds

        public Map<String,​Collection<String>> getExtensionsIds()
        Returns the extensions declared within this feature, grouped by extension point.
        Returns:
        the extensions declared within this feature, grouped by extension point.
      • getComponentsIds

        public Map<String,​StringgetComponentsIds()
        Returns the components declared within this feature, stored by role.
        Returns:
        the components declared within this feature, stored by role.