com.atlassian.confluence.importexport.impl
Class NotNullBandanaRecordPreProcessor

java.lang.Object
  extended by com.atlassian.confluence.importexport.impl.NotNullBandanaRecordPreProcessor
All Implemented Interfaces:
ImportedObjectPreProcessor

public class NotNullBandanaRecordPreProcessor
extends java.lang.Object
implements ImportedObjectPreProcessor


Constructor Summary
NotNullBandanaRecordPreProcessor()
           
 
Method Summary
 boolean handles(ImportedObject object)
           
 ImportedObject process(ImportedObject object)
          Takes an ImportedObject and returns a new, processed ImportedObject, or null if the ImportedObject should be skipped.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotNullBandanaRecordPreProcessor

public NotNullBandanaRecordPreProcessor()
Method Detail

handles

public boolean handles(ImportedObject object)
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)
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.


Copyright © 2003-2013 Atlassian. All Rights Reserved.