Class DelegatingObjectPersisterFactory
java.lang.Object
com.atlassian.confluence.importexport.xmlimport.DelegatingObjectPersisterFactory
- All Implemented Interfaces:
ObjectPersisterFactory
@Deprecated
public class DelegatingObjectPersisterFactory
extends Object
implements ObjectPersisterFactory
Deprecated.
Factory to provide the correct
ObjectPersister for a given ImportedObject. Guarantees not to return
null from createPersisterFor(com.atlassian.confluence.importexport.xmlimport.model.ImportedObject). Delegates
to a list of factories to create type-specific persisters.-
Constructor Summary
ConstructorsConstructorDescriptionDelegatingObjectPersisterFactory(List<ObjectPersisterFactory> delegateFactories, ObjectPersisterFactory defaultFactory) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptioncreatePersisterFor(ImportedObject importedObject) Deprecated.Creates a new persister for the givenImportedObject.
-
Constructor Details
-
DelegatingObjectPersisterFactory
public DelegatingObjectPersisterFactory(List<ObjectPersisterFactory> delegateFactories, ObjectPersisterFactory defaultFactory) Deprecated.
-
-
Method Details
-
createPersisterFor
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.
-
BackupRestoreManagerinstead.