Class ChainedImportedObjectPreProcessor

java.lang.Object
com.atlassian.confluence.importexport.ChainedImportedObjectPreProcessor
All Implemented Interfaces:
ImportedObjectPreProcessor

@Deprecated public class ChainedImportedObjectPreProcessor extends Object implements ImportedObjectPreProcessor
Deprecated.
since 7.17.0.
A container that runs an ImportedObject through multiple ImportedObjectPreProcessors in sequence.
  • Constructor Details

  • Method Details

    • emptyList

      public static ChainedImportedObjectPreProcessor emptyList()
      Deprecated.
    • handles

      public boolean handles(ImportedObject object)
      Deprecated.
      Specified by:
      handles in interface ImportedObjectPreProcessor
      Parameters:
      object - The object to be processed
      Returns:
      true if any of the contained preprocessors should be applied to the object, otherwise false.
    • process

      public ImportedObject process(ImportedObject object)
      Deprecated.
      Process the object with each of the contained preprocessors
      Specified by:
      process in interface ImportedObjectPreProcessor
      Parameters:
      object - The object that needs to be processed
      Returns:
      A new processed object, or null if any of the preprocessors returned null