Package org.ametys.runtime.plugin
Class Feature
java.lang.Object
org.ametys.runtime.plugin.Feature
A plugin is composed by features, containing components definitions and extensions.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the components declared within this feature, stored by role.List the configuration parameters declared in the feature.List the configuration parameters referenced from the feature.Returns the extensions declared within this feature, grouped by extension point.Returns the feature id, ie.Returns this feature nameReturns the declaring plugin nameboolean
Returns true if this feature is passive.boolean
isSafe()
Returns true if this feature is declared as safe.
-
Field Details
-
DEFAULT_NAME
Name for fake features, eg. declared on the fly- See Also:
-
-
Method Details
-
getPluginName
Returns the declaring plugin name- Returns:
- the declaring plugin name
-
getFeatureName
Returns this feature name- Returns:
- this feature name
-
getFeatureId
Returns the feature id, ie.getPluginName() + '/' + getFeatureName()
- Returns:
- the feature id.
-
isPassive
Returns true if this feature is passive.- Returns:
- true if this feature is passive.
-
isSafe
Returns true if this feature is declared as safe.- Returns:
- true if this feature is declared as safe.
-
getExtensionsIds
Returns the extensions declared within this feature, grouped by extension point.- Returns:
- the extensions declared within this feature, grouped by extension point.
-
getComponentsIds
Returns the components declared within this feature, stored by role.- Returns:
- the components declared within this feature, stored by role.
-
getConfigParameters
List the configuration parameters declared in the feature. See #getConfigParametersReferences- Returns:
- The non null map of parameters
-
getConfigParametersReferences
List the configuration parameters referenced from the feature. See #getConfigParameters- Returns:
- The non null map of parameters
-