Package org.ametys.plugins.contentio
Class ContentImporterExtensionPoint
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<ContentImporter>
-
- org.ametys.plugins.contentio.ContentImporterExtensionPoint
-
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<ContentImporter>
,Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
,ThreadSafe
public class ContentImporterExtensionPoint extends AbstractThreadSafeComponentExtensionPoint<ContentImporter>
Extension point forContentImporter
s.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
ContentImporterExtensionPoint.ContentImporterPriorityComparator
Compares importers by ascending priority
-
Field Summary
Fields Modifier and Type Field Description protected static ContentImporterExtensionPoint.ContentImporterPriorityComparator
_IMPORTER_COMPARATOR
Compares importers by ascending priority.protected List<ContentImporter>
_importersByPriority
The importers, sorted by priority.static String
ROLE
Avalon Role-
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
-
Constructor Summary
Constructors Constructor Description ContentImporterExtensionPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ContentImporter>
getImportersByPriority()
Get 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 Detail
-
_IMPORTER_COMPARATOR
protected static ContentImporterExtensionPoint.ContentImporterPriorityComparator _IMPORTER_COMPARATOR
Compares importers by ascending priority.
-
_importersByPriority
protected List<ContentImporter> _importersByPriority
The importers, sorted by priority.
-
-
Constructor Detail
-
ContentImporterExtensionPoint
public ContentImporterExtensionPoint()
-
-
Method Detail
-
getImportersByPriority
public List<ContentImporter> getImportersByPriority()
Get the importer IDs, sorted by ascending priority.- Returns:
- the importer IDs, sorted by ascending priority.
-
-