Interface ExistingEntityFinder
-
- All Known Implementing Classes:
AbstractUserEntityFinder
,CompoundExistingEntityFinder
,ConfluenceCloudUserFinder
,ConfluenceUserFinder
,LabelFinder
,PluginProvidedExistingEntityFinder
public interface ExistingEntityFinder
Allows to find objects already existing in the DB.- Since:
- 8.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<ImportedObjectV2,Object>
findExistingObjectIds(Collection<ImportedObjectV2> objects)
Finds already existing objects in the database.Class<?>
getSupportedClass()
boolean
isSupportedJobSource(JobSource jobSource)
-
-
-
Method Detail
-
findExistingObjectIds
Map<ImportedObjectV2,Object> findExistingObjectIds(Collection<ImportedObjectV2> objects)
Finds already existing objects in the database.- Parameters:
objects
- collection of imported objects- Returns:
- map where key is the importing object and value is the id of the alredy existing object.
-
getSupportedClass
Class<?> getSupportedClass()
- Returns:
- the entity class that is processed by this finder
-
isSupportedJobSource
boolean isSupportedJobSource(JobSource jobSource)
- Returns:
- the JobSource this finder accepts
-
-