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. UseBackupRestoreManagerinstead.Factory to provide the correctObjectPersisterfor 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 ObjectPersistercreatePersisterFor(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:ObjectPersisterFactoryCreates a new persister for the givenImportedObject.- Specified by:
createPersisterForin interfaceObjectPersisterFactory- Parameters:
importedObject- the object to persist.- Returns:
- the matching
ObjectPersister, or null if none could be found.
-
-