Package org.ametys.plugins.contentio.in
Class ContentImporterExtensionPoint
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<ContentImporter>
org.ametys.plugins.contentio.in.ContentImporterExtensionPoint
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<ContentImporter>
,Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
,ThreadSafe
public class ContentImporterExtensionPoint
extends AbstractThreadSafeComponentExtensionPoint<ContentImporter>
Extension point for
ContentImporter
s.-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
Compares importers by ascending priority -
Field Summary
Modifier and TypeFieldDescriptionprotected static ContentImporterExtensionPoint.ContentImporterPriorityComparator
Compares importers by ascending priority.protected List<ContentImporter>
The importers, sorted by priority.static final String
Avalon RoleFields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the importer IDs, sorted by ascending priority.Methods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
addComponent, addExtension, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initialize, initializeExtensions, service
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
Avalon Role -
_IMPORTER_COMPARATOR
protected static ContentImporterExtensionPoint.ContentImporterPriorityComparator _IMPORTER_COMPARATORCompares importers by ascending priority. -
_importersByPriority
The importers, sorted by priority.
-
-
Constructor Details
-
ContentImporterExtensionPoint
public ContentImporterExtensionPoint()
-
-
Method Details
-
getImportersByPriority
Get the importer IDs, sorted by ascending priority.- Returns:
- the importer IDs, sorted by ascending priority.
-