java.lang.Object
com.atlassian.confluence.importexport.xmlimport.persister.NoopPersister
All Implemented Interfaces:
ObjectPersister

@Deprecated @Internal public class NoopPersister extends Object implements ObjectPersister
Deprecated.
since 7.17.0
The persister that does nothing.
Since:
7.0.0
  • Constructor Details

    • NoopPersister

      public NoopPersister()
      Deprecated.
  • Method Details

    • persist

      Deprecated.
      Description copied from interface: ObjectPersister
      Persist a given imported object.
      Specified by:
      persist in interface ObjectPersister
      Parameters:
      context - the context of the current import operation
      object - the object to save.
      Returns:
      a list of handles of the objects that were saved. If IDs are being rewritten on import, this list should still contain the pre-rewriting ID as it appears in the backup file
      Throws:
      Exception - if something goes wrong. To avoid duplication of "wrap everything in one exception type" code in every persister, it is assumed wrapping happens at a higher level.