Class DelegatingObjectPersisterFactory
- java.lang.Object
-
- com.atlassian.confluence.importexport.xmlimport.DelegatingObjectPersisterFactory
-
- All Implemented Interfaces:
ObjectPersisterFactory
@Deprecated public class DelegatingObjectPersisterFactory extends Object implements ObjectPersisterFactory
Deprecated.since 7.17.0. UseBackupRestoreManager
instead.Factory to provide the correctObjectPersister
for a givenImportedObject
. Guarantees not to return null fromcreatePersisterFor(com.atlassian.confluence.importexport.xmlimport.model.ImportedObject)
. Delegates to a list of factories to create type-specific persisters.
-
-
Constructor Summary
Constructors Constructor Description DelegatingObjectPersisterFactory(List<ObjectPersisterFactory> delegateFactories, ObjectPersisterFactory defaultFactory)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ObjectPersister
createPersisterFor(ImportedObject importedObject)
Deprecated.Creates a new persister for the givenImportedObject
.
-
-
-
Constructor Detail
-
DelegatingObjectPersisterFactory
public DelegatingObjectPersisterFactory(List<ObjectPersisterFactory> delegateFactories, ObjectPersisterFactory defaultFactory)
Deprecated.
-
-
Method Detail
-
createPersisterFor
public ObjectPersister createPersisterFor(ImportedObject importedObject)
Deprecated.Description copied from interface:ObjectPersisterFactory
Creates a new persister for the givenImportedObject
.- Specified by:
createPersisterFor
in interfaceObjectPersisterFactory
- Parameters:
importedObject
- the object to persist.- Returns:
- the matching
ObjectPersister
, or null if none could be found.
-
-