com.atlassian.studio.confluence.importexport
Class BandanaContextImportPreProcessor

java.lang.Object
  extended by com.atlassian.studio.confluence.importexport.AbstractPrimitivePropertyImportPreProcessor
      extended by com.atlassian.studio.confluence.importexport.AbstractBandanaImportPreProcessor
          extended by com.atlassian.studio.confluence.importexport.BandanaContextImportPreProcessor
All Implemented Interfaces:
ImportedObjectPreProcessor

public class BandanaContextImportPreProcessor
extends AbstractBandanaImportPreProcessor

Processes a Bandana import object, updates its value to the space key provided.


Constructor Summary
BandanaContextImportPreProcessor(String oldKey, String newKey)
           
 
Method Summary
protected  List<String> getPropertyNames()
          Provides a list of names of properties that the pre-processor is targeting for processing.
protected  boolean isTargetObject(ImportedObject object)
           
protected  PrimitiveProperty updateProperty(PrimitiveProperty bandanaContext)
           
 
Methods inherited from class com.atlassian.studio.confluence.importexport.AbstractBandanaImportPreProcessor
handles
 
Methods inherited from class com.atlassian.studio.confluence.importexport.AbstractPrimitivePropertyImportPreProcessor
process, propertiesMatchingNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BandanaContextImportPreProcessor

public BandanaContextImportPreProcessor(String oldKey,
                                        String newKey)
Method Detail

isTargetObject

protected boolean isTargetObject(ImportedObject object)
Specified by:
isTargetObject in class AbstractBandanaImportPreProcessor

updateProperty

protected PrimitiveProperty updateProperty(PrimitiveProperty bandanaContext)
Specified by:
updateProperty in class AbstractBandanaImportPreProcessor

getPropertyNames

protected List<String> getPropertyNames()
Description copied from class: AbstractPrimitivePropertyImportPreProcessor
Provides a list of names of properties that the pre-processor is targeting for processing. There should only be one property in the object for each of the names in the returned list.

Specified by:
getPropertyNames in class AbstractBandanaImportPreProcessor
Returns:
A list of names that the pre-processor should be targeting


Copyright © 2003–2015 Atlassian. All rights reserved.