Class ImportedObjectV1ToV2Converter

  • All Implemented Interfaces:
    Function<ImportedObject,​Optional<ImportedObjectV2>>

    public class ImportedObjectV1ToV2Converter
    extends Object
    implements Function<ImportedObject,​Optional<ImportedObjectV2>>

    Converts legacy ImportedObject to the new ImportedObjectV2.

    Before converting, it applies all the configured filters, so some objects would be skipped if they did not pass filters.

    After conversion, it applies all preprocessors that modify/fixes some objects. Note that those preprocessors would also reject objects if they discover that they contain broken data and they can't apply their changes properly.

    Since:
    8.1.0