Class BandanaXStreamUpgradePreProcessor
java.lang.Object
com.atlassian.confluence.importexport.impl.BandanaXStreamUpgradePreProcessor
- All Implemented Interfaces:
ImportedObjectPreProcessor
@Deprecated
public class BandanaXStreamUpgradePreProcessor
extends Object
implements ImportedObjectPreProcessor
Deprecated.
Responsible for migrating incoming XStream data in ConfluenceBandanaRecord from 1.1.1 format to 1.4.13.
This class can be removed once we remove support for XStream 1.1.1 imports and its backward compatibility.
Most probably sometime after when 7.9 is out of life.
- Since:
- 7.10.0
-
Constructor Summary
ConstructorDescriptionBandanaXStreamUpgradePreProcessor
(ConfluenceXStreamManager xStreamManager) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionboolean
handles
(ImportedObject object) Deprecated.process
(ImportedObject object) Deprecated.Takes an ImportedObject and returns a new, processed ImportedObject, or null if the ImportedObject should be skipped.
-
Constructor Details
-
BandanaXStreamUpgradePreProcessor
Deprecated.
-
-
Method Details
-
handles
Deprecated.- Specified by:
handles
in interfaceImportedObjectPreProcessor
- Parameters:
object
- The object to be processed- Returns:
true
if this preprocessor should be applied to the object, otherwisefalse
.
-
process
Deprecated.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 unlessImportedObjectPreProcessor.handles(ImportedObject)
returns true- Specified by:
process
in interfaceImportedObjectPreProcessor
- 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.
-
BandanaXStreamUpgradePreprocessor