Class ContentPropertyFilterPreProcessor

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

@Deprecated(since="8.3.0", forRemoval=true) public class ContentPropertyFilterPreProcessor extends Object implements ImportedObjectPreProcessor
Deprecated, for removal: This API element is subject to removal in a future version.
since 8.3.0
Export from 6.x may include content properties such as synchrony related ones, which need to be filtered out on import
Since:
6.0
  • Constructor Details

    • ContentPropertyFilterPreProcessor

      public ContentPropertyFilterPreProcessor(Set<String> valuesToSkip)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • handles

      public boolean handles(ImportedObject object)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      handles in interface ImportedObjectPreProcessor
      Parameters:
      object - The object to be processed
      Returns:
      true if this preprocessor should be applied to the object, otherwise false.
    • process

      public ImportedObject process(ImportedObject object)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: ImportedObjectPreProcessor
      Takes an ImportedObject and returns a new, processed ImportedObject, or null if the ImportedObject should be skipped. This method will not execute unless ImportedObjectPreProcessor.handles(ImportedObject) returns true
      Specified by:
      process in interface ImportedObjectPreProcessor
      Parameters:
      object - The object that needs to be processed
      Returns:
      An ImportedObject with the relevant changes, or null if the object should not be imported.