Package org.ametys.runtime.plugin
Class Feature
- java.lang.Object
-
- org.ametys.runtime.plugin.Feature
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
getComponentsIds()
Returns the components declared within this feature, stored by role.Map<String,Collection<String>>
getExtensionsIds()
Returns the extensions declared within this feature, grouped by extension point.String
getFeatureId()
Returns the feature id, ie.String
getFeatureName()
Returns this feature nameString
getPluginName()
Returns the declaring plugin nameboolean
isPassive()
Returns true if this feature is passive.boolean
isSafe()
Returns true if this feature is declared as safe.
-
-
-
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,String> getComponentsIds()
Returns the components declared within this feature, stored by role.- Returns:
- the components declared within this feature, stored by role.
-
-